/* ========================================
   共通設定
   ======================================== */
/* 既存のカスタムCSSに!importantを追加して優先度を上げる */
#srchBox table,
#srchBox2 table,
#srchBox3 table {
  margin-top: 9px !important;
  margin-left: 5px !important;
  margin-bottom: 10px !important;
}

#srchBox table.gsc-search-box,
#srchBox2 table.gsc-search-box,
#srchBox3 table.gsc-search-box {
  border-radius: 40px !important;
  overflow: hidden !important;
  background-color: #FFF !important;
  box-shadow: 0px 0px 2px !important;
  width: 100% !important;
  max-width: 800px !important;
  table-layout: fixed !important;
}

#srchBox .gsc-input-box,
#srchBox2 .gsc-input-box,
#srchBox3 .gsc-input-box {
  border-radius: 0 !important;
  padding: 0 10px !important;
  border: none !important;
}

#srchBox .gsc-input-box input.gsc-input,
#srchBox2 .gsc-input-box input.gsc-input,
#srchBox3 .gsc-input-box input.gsc-input {
  font-size: 18px !important;
}

#srchBox table.gsc-search-box td.gsc-input,
#srchBox2 table.gsc-search-box td.gsc-input,
#srchBox3 table.gsc-search-box td.gsc-input {
  width: calc(100% - 90px) !important;
  padding-right: 0 !important;
  border: none !important;
}

#srchBox table.gsc-search-box td.gsc-clear-button,
#srchBox2 table.gsc-search-box td.gsc-clear-button,
#srchBox3 table.gsc-search-box td.gsc-clear-button {
  width: 40px !important;
  background-color: #fff !important;
  border: none !important;
}

#srchBox table.gsc-search-box td.gsc-search-button,
#srchBox2 table.gsc-search-box td.gsc-search-button,
#srchBox3 table.gsc-search-box td.gsc-search-button {
  width: 50px !important;
  border: none !important;
  background-color: #fff !important;
  padding: 0 !important;
}

#srchBox .gsc-search-button-v2,
#srchBox .gsc-search-button-v2:hover,
#srchBox .gsc-search-button-v2:focus,
#srchBox2 .gsc-search-button-v2,
#srchBox2 .gsc-search-button-v2:hover,
#srchBox2 .gsc-search-button-v2:focus,
#srchBox3 .gsc-search-button-v2,
#srchBox3 .gsc-search-button-v2:hover,
#srchBox3 .gsc-search-button-v2:focus {
  padding: 12px !important;
  margin: 0 !important;
  border-radius: 0 !important;
  border: none !important;
  background-color: #fff !important;
  box-shadow: none !important;
  min-width: 50px !important;
  max-width: 50px !important;
}

#srchBox .gsc-search-button-v2 svg,
#srchBox2 .gsc-search-button-v2 svg,
#srchBox3 .gsc-search-button-v2 svg {
  width: 18px !important;
  height: 18px !important;
  margin-right: 3px !important;
  fill: #333333 !important;
}

#srchBox .gsc-search-button-v2:hover,
#srchBox2 .gsc-search-button-v2:hover,
#srchBox3 .gsc-search-button-v2:hover {
  opacity: 0.7 !important;
  background-color: #fff !important;
}
:root {
  --primary-color: #667eea;
  --primary-dark: #5568d3;
  --secondary-color: #764ba2;
  --accent-red: #c8102e;
  --accent-red-dark: #a00d25;
  --accent-green-light: #DAE3D5;
  --accent-green: #43850C;
  --accent-green-dark: #5C7E5A;
  --text-dark: #111;
  --text-medium: #333;
  --text-light: #999;
  --bg-light: #E8EFE5;
  --bg-white: #fff;
  --bg-orange: #CC3300;
  --bg-blue: #1B5596;
  --border-light: #e0e0e0;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.15);
  --transition-base: all 0.3s ease;
  --border-radius-sm: 8px;
  --border-radius-md: 15px;
  --border-radius-lg: 20px;
  --border-radius-full: 50px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans JP', 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  line-height: 1.6;
  background-color: var(--bg-light);
  color: var(--text-dark);
  overflow-x: hidden;
  max-width: 100vw;
}

img {
  max-width: 100%;
  height: auto;
}

/* ========================================
   矢印アイコン共通スタイル
   ======================================== */
.arrow {
  position: relative;
  display: inline-block;
  padding: 0 0 0 16px;
  vertical-align: middle;
  text-decoration: none;
  font-size: 15px;
  border-color: var(--text-dark);
}

.arrow::before,
.arrow::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  content: "";
  vertical-align: middle;
}

.arrow-right {
  position: relative;
  display: inline-block;
  padding: 0 20px 0 0;
  vertical-align: middle;
  text-decoration: none;
  font-size: 15px;
}

.arrow-right::before,
.arrow-right::after {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  content: "";
  vertical-align: middle;
}

.arrow-doglegged::before {
  left: -3px;
  width: 10px;
  height: 10px;
  border-top: 3px solid var(--accent-green-dark);
  border-right: 3px solid var(--accent-green-dark);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.arrow-triangle::before {
  left: 4px;
  box-sizing: border-box;
  width: 4px;
  height: 4px;
  border: 4px solid transparent;
  border-left: 4px solid;
}

.arrow-color-black {
}

.arrow-color-white {
  border-color: white;
}

.arrow-color-green {
  border-color: var(--accent-green);
}

.arrow-right.arrow-triangle::before {
  left: auto;
  right: 4px;
  box-sizing: border-box;
  width: 4px;
  height: 4px;
  border: 4px solid transparent;
  border-left: 4px solid;
}

/* ========================================
   ヘッダー基本スタイル
   ======================================== */
header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 96%;
  max-width: 1200px;
  padding: 0.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.98);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
}

header.scrolled {
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--text-dark);
  text-decoration: none;
  transition: var(--transition-base);
}

.logo:hover {
  color: var(--primary-color);
}

/* ========================================
   ヘッダー右側コンテンツ
   ======================================== */
.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
  max-width: 890px;
}

/* ========================================
   トップメニュー
   ======================================== */
.top-menu {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  justify-content: flex-end;
}

.top-left-menu {
  display: flex;
  gap: 1.5rem;
  margin-right: 0rem;
}

.top-left-menu a {
  color: var(--text-medium);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  transition: var(--transition-base);
}

.top-left-menu a:hover {
  text-decoration: underline;
}

/* ========================================
   検索バー
   ======================================== */
.search-bar {
  display: flex;
  align-items: center;
  background-color: #f5f5f5;
  border-radius: var(--border-radius-lg);
  padding: 0;
  gap: 0;
  overflow: hidden;
}

/* Google検索フォーム全体のリセット */
.search-bar * {
  box-sizing: border-box;
}

.search-bar table,
.search-bar tbody,
.search-bar tr,
.search-bar td {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  display: table !important;
}

.search-bar table {
  width: 100% !important;
  border-collapse: collapse !important;
}

.search-bar tbody {
  display: table-row-group !important;
}

.search-bar tr {
  display: table-row !important;
}

.search-bar td {
  display: table-cell !important;
  vertical-align: middle !important;
}

/* Google検索フォームのスタイル調整 */
.search-bar .gsc-control-searchbox-only {
  background-color: transparent;
  border: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.search-bar .gsc-search-box {
  margin: 0;
  padding: 0;
  width: 100%;
}

.search-bar .gsc-search-box > table {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

.search-bar .gsc-input-box {
  border: none !important;
  background-color: transparent !important;
  margin: 0 !important;
  padding: 0 0.5rem 0 1rem !important;
  height: auto !important;
  box-shadow: none !important;
}

.search-bar .gsc-input-box:hover,
.search-bar .gsc-input-box:focus {
  border: none !important;
  box-shadow: none !important;
}

.search-bar .gsc-input {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}

.search-bar .gsc-input table {
  padding: 0 !important;
  margin: 0 !important;
}

.search-bar input.gsc-input {
  border: none !important;
  background: transparent !important;
  outline: none !important;
  padding: 0.3rem !important;
  font-size: 0.9rem !important;
  width: 150px !important;
  height: auto !important;
  font-family: 'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif !important;
  box-shadow: none !important;
  line-height: normal !important;
}

.search-bar input.gsc-input:focus {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.search-bar input.gsc-input::placeholder {
  color: #666 !important;
}

.search-bar .gsc-search-button {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}

.search-bar .gsc-search-button td {
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}

.search-bar .gsc-search-button-v2 {
  background: transparent !important;
  border: none !important;
  cursor: pointer !important;
  padding: 0.3rem 0.5rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  min-width: auto !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  height: auto !important;
}

.search-bar .gsc-search-button-v2:hover {
  background: transparent !important;
  box-shadow: none !important;
}

.search-bar .gsc-search-button-v2 svg {
  fill: var(--text-medium) !important;
  width: 18px !important;
  height: 18px !important;
}

.search-bar .gsc-search-button-v2:hover svg {
  fill: var(--accent-green-dark) !important;
}

/* クリアボタンのスタイル */
.search-bar .gsst_a {
  padding: 0.3rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.search-bar .gsst_b {
  display: inline-flex !important;
  align-items: center !important;
}

.search-bar .gscb_a {
  color: var(--text-medium) !important;
  font-size: 16px !important;
  line-height: 1 !important;
  display: inline-block !important;
}

.search-bar .gsst_a:hover .gscb_a {
  color: var(--accent-green-dark) !important;
}

/* Google検索のブランディング画像を非表示 */
.search-bar input.gsc-input {
  background-image: none !important;
}

/* 検索結果のクリアボタン */
.search-bar .gsc-clear-button {
  display: none !important;
}

/* 検索結果の補完機能のスタイル調整 */
.gssb_c {
  z-index: 9999 !important;
}

/* inputのセル幅調整 */
.search-bar .gsc-input {
  width: auto !important;
}

.search-bar td.gsc-input {
  width: 100% !important;
}

.search-bar td.gsc-search-button,
.search-bar td.gsc-clear-button {
  width: auto !important;
  white-space: nowrap !important;
}

/* ========================================
   ハンバーガーメニュー内の検索バー（モバイル用）
   ======================================== */
.hamburger-search {
  padding: 1rem 2rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
}

.hamburger-search .search-bar {
  max-width: 470px;
  width: 100%;
}

.hamburger-search input.gsc-input {
  width: 100% !important;
  max-width: none !important;
  min-width: 200px !important;
}

/* ハンバーガーメニューの検索バーもテーブルリセット */
.hamburger-search .search-bar table,
.hamburger-search .search-bar tbody,
.hamburger-search .search-bar tr,
.hamburger-search .search-bar td {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}

/* ========================================
   トップボタン
   ======================================== */
.top-right-menu {
  display: flex !important;
  margin-bottom:0;
  padding-left: 0px;
}

.top-right-menu li{
  list-style: none;
  margin-left: 10px;
}

.top-btn {
  padding: 0.2rem 1rem 0.2rem 1.5rem;
  text-decoration: none;
  border-radius: 0;
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition-base);
  white-space: nowrap;
}

.btn-request {
  background-color: var(--bg-orange);
  color: var(--bg-white);
}

.btn-request:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
}

.btn-organization {
  background-color: var(--bg-blue);
  color: var(--bg-white);
}

.btn-organization:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

/* ========================================
   ナビゲーションメニュー
   ======================================== */
header nav {
  width: 100%;
}

header nav ul {
  display: flex;
  list-style: none;
  gap: 0;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 0rem;
  padding: 0;
}

header nav ul li.has-megamenu {
  flex: 1;
  text-align: center;
  position: relative;
}

nav ul li.has-megamenu::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background-color: var(--border-light);
  z-index: 1;
}

nav ul li a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-base);
  position: relative;
  display: block;
  padding: 0.5rem 0.3rem;
}

nav ul li a:hover {
  color: var(--accent-green-dark);
}
/* ========================================
   メガメニュートリガーボタンのスタイル調整
   ======================================== */
nav ul li button.menu {
  /* aタグと基本的に同じスタイル */
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-base);
  position: relative;
  display: block;
  padding: 0.5rem 0.3rem;
  
  /* buttonタグ特有のリセット */
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
  text-align: center;
  
  /* デフォルトでアウトラインを非表示 */
  outline: none;
}

nav ul li button.menu:hover {
  color: var(--accent-green-dark);
}

nav ul li button.menu:hover::after {
  width: 80%;
}

/* マウスクリック時はアウトラインを非表示 */
nav ul li button.menu:focus:not(:focus-visible) {
  outline: none;
}

/* キーボード操作(Tab)時のみアウトラインを表示 */
nav ul li button.menu:focus-visible {
  outline: 2px solid var(--accent-green-dark);
  outline-offset: 2px;
}

/* モバイルビュー(ハンバーガーメニュー)向けの追加スタイル */
@media (max-width: 1260px) {
  nav ul li button.menu {
    color: var(--bg-white);
    text-align: left;
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
  
  nav ul li button.menu::after {
    content: '▼';
    position: absolute;
    right: 1.5rem;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    height: auto;
    background: none;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
  }
  
  nav ul li.mobile-active button.menu::after {
    transform: translateY(-50%) rotate(180deg);
  }
  
  /* モバイル版でもキーボード操作時のみアウトライン表示 */
  nav ul li button.menu:focus:not(:focus-visible) {
    outline: none;
  }
  
  nav ul li button.menu:focus-visible {
    outline: 2px solid var(--bg-white);
    outline-offset: 2px;
  }
}
nav ul li a.menu::after,nav ul li button.menu::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--accent-green-dark);
  transition: width 0.3s ease;
}

nav ul li:last-of-type::before {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background-color: var(--border-light);
  z-index: 1;
}

nav ul li.has-megamenu:last-of-type.has-megamenu::before {
  left: 0;
  right: auto;
}

nav ul li.has-megamenu a:hover::after {
  width: 80%;
}

/* ========================================
   メガメニュー
   ======================================== */
header nav ul li.has-megamenu {
  position: relative;
  z-index: 1000;
}

/* デフォルト状態: 非表示 */
header nav ul li.has-megamenu::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -400px;
  right: -400px;
  height: 60px;
  background: transparent;
  z-index: 999;
  display: none;
  pointer-events: none;
}

header nav ul li.has-megamenu:hover::after{
  display: block;
  pointer-events: auto;
}
header nav ul li.has-megamenu .megamenu {
  display: none;
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(107, 142, 90, 0.3);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  width: 90vw;
  max-width: 1200px;
  padding: 0;
  z-index: 1002;
  backdrop-filter: blur(10px);
  --triangle-offset: 0px;
}

header nav ul li.has-megamenu .megamenu::before {
  content: '';
  position: absolute;
  top: -22px;
  left: calc(50% + var(--triangle-offset));
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
  border-bottom: 22px solid rgba(107, 142, 90, 0.3);
  z-index: 1;
}

header nav ul li.has-megamenu .megamenu::after {
  content: '';
  position: absolute;
  top: -20px;
  left: calc(50% + var(--triangle-offset));
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 23px solid transparent;
  border-right: 23px solid transparent;
  border-bottom: 21px solid rgba(255, 255, 255, 0.97);
  z-index: 2;
}

header nav ul li.has-megamenu:hover .megamenu {
  display: block;
  animation: fadeInDown 0.3s ease;
}

header nav ul li.has-megamenu .megamenu:hover {
  display: block;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.megamenu-header {
  color: var(--accent-green-dark);
  font-size: 1.5rem;
  font-weight: 600;
  padding: 1rem 4.5rem;
  border-radius: 11px 11px 0 0;
  text-align: left;
  position: relative;
  padding-right: 3rem;
}

/* ========================================
   メガメニューコンテンツ(修正版)
   ======================================== */
.megamenu-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin: 0rem 2rem;
  padding: 1.5rem 1.5rem;
  border-top: 1px solid var(--text-dark);
}

.megamenu-content ul {
  display: contents;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* li をグリッドアイテムとして扱い、高さを揃える */
.megamenu-content ul li {
  display: flex;
}

/* .megamenu-item - 親の高さいっぱいに広がる */
.megamenu-item {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 0.9rem 1.2rem;
  color: var(--text-dark);
  text-decoration: none;
  transition: var(--transition-base);
  font-size: 0.95rem;
  border-bottom: 1px dotted var(--text-dark);
  margin: 0 0.5rem;
}

/* アイコンとテキストを包むラッパー - 上寄せで残りスペースを占有 */
.megamenu-item-inner {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  flex: 1;
}

.megamenu-item:hover {
  background-color: rgba(218, 227, 213, 0.5);
  color: var(--text-dark);
  transform: translateX(3px);
}

.megamenu-icon {
  color: var(--accent-green-dark);
  font-size: 1rem;
  flex-shrink: 0;
  font-weight: bold;
}

.megamenu-text {
  flex: 1;
  line-height: 1.5;
  text-align: left;
  font-weight: 500;
}

header nav ul li.has-megamenu:hover .megamenu,
header nav ul li.has-megamenu.menu-open .megamenu {
  display: block;
  animation: fadeInDown 0.3s ease;
}

header nav ul li.has-megamenu .megamenu:hover,
header nav ul li.has-megamenu.menu-open .megamenu {
  display: block;
}

/* ========================================
   メガメニューフッター
   ======================================== */
.megamenu-footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background-color: var(--accent-green);
  padding: 1.5rem 2rem;
  border-radius: 0 0 11px 11px;
  margin-top: 1rem;
}

.megamenu-footer-left {
  display: flex;
  gap: 0;
  align-items: stretch;
  justify-content: flex-start;
  flex-direction: column;
}

.megamenu-footer-link {
  color: var(--bg-white);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-base);
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  display: block;
  margin-left: 0rem;
  text-align: left;
}

.megamenu-footer-link:hover {
  text-decoration: underline;
  background-color: rgba(255, 255, 255, 0.009);
}

.megamenu-footer-right {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: stretch;
  justify-content: flex-start;
  margin-top: 0.5rem;
}

.megamenu-footer-btn {
  padding: .5rem 1rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-base);
  white-space: nowrap;
  color: var(--bg-white);
  text-align: left;
  margin: 0 2rem;
  display: block;
}

.megamenu-footer-btn.btn-request {
  background-color: var(--bg-orange);
}

.megamenu-footer-btn.btn-request:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.megamenu-footer-btn.btn-organization {
  background-color: var(--bg-blue);
}

.megamenu-footer-btn.btn-organization:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

/* ========================================
   メニュートグルボタン(ハンバーガー)
   ======================================== */
.menu-toggle {
  display: block;
  position: relative;
  z-index: 1001;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  cursor: pointer;
  margin-left: 1rem;
}

.menu-toggle__line {
  position: absolute;
  left: 11px;
  width: 26px;
  height: 2px;
  background-color: #333;
  transition: all .4s;
}

.menu-toggle__line:nth-of-type(1) {
  top: 14px;
}

.menu-toggle__line:nth-of-type(2) {
  top: 23px;
}

.menu-toggle__line:nth-of-type(3) {
  top: 32px;
}

.menu-toggle.active .menu-toggle__line:nth-of-type(1) {
  transform: translateY(9px) rotate(-45deg);
}

.menu-toggle.active .menu-toggle__line:nth-of-type(2) {
  opacity: 0;
}

.menu-toggle.active .menu-toggle__line:nth-of-type(3) {
  transform: translateY(-9px) rotate(45deg);
}

/* ========================================
   オーバーレイ
   ======================================== */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--accent-green);
  z-index: 998;
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.menu-overlay.active {
  transform: translateX(0);
}

/* 下線付きセクションタイトル(汎用) */
.section-title-underline {
  text-align: center;
  font-size: 2.3rem;
  color: var(--text-dark);
  margin-bottom: 3rem;
  font-weight: 600;
  position: relative;
  display: inline-block;
  width: auto;
}

.section-title-underline::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    to right,
    var(--accent-red) 0%,
    var(--accent-red) 30%,
    var(--accent-green-dark) 30%,
    var(--accent-green-dark) 100%
  );
}

.section-title-underline .highlight {
  color: var(--accent-red);
  font-size: 2.8rem;
}

/* ========================================
   ハンバーガーメニュー
   ======================================== */
.hamburger-menu {
  position: fixed;
  top: 108px;
  left: 0;
  width: 100%;
  height: calc(100vh - 108px);
  background-color: var(--accent-green);
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.4s ease;
  overflow-y: auto;
  overflow-x: hidden;
}

.hamburger-menu.active {
  transform: translateX(0);
}

.hamburger-menu__inner {
  width: 100%;
  height: 100%;
}

.hamburger-menu__content {
  padding: 2rem 0;
}

/* ========================================
   ハンバーガーメニュー内 - メインメニュー
   ======================================== */
.hamburger-menu .main-menu {
  margin: 0;
  padding: 0 2rem;
}

.hamburger-menu .main-menu-title {
  font-size: 1.45rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  padding-left: 2.5rem;
  position: relative;
}

.hamburger-menu .main-menu-title::before {
  content: "";
  background-image: url(../images/icon-megamenu-header.png);
  background-size: 1.4rem auto;
  background-repeat: no-repeat;
  width: 1.4rem;
  height: 1.4rem;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.hamburger-menu ul.contents {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hamburger-menu ul.contents > li {
  border-bottom: 1px solid #e0e0e0;
}

.hamburger-menu ul.contents > li:last-child {
  border-bottom: none;
}

.hamburger-menu .menu-item-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  width: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
}

.hamburger-menu .menu-item-text {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--bg-white);
  transition: color 0.3s ease;
}

.hamburger-menu .menu-item-wrapper:hover .menu-item-text,
.hamburger-menu .menu-item-wrapper:focus .menu-item-text {
  text-decoration: underline;
}

.hamburger-menu .menu-item-wrapper:focus {
  outline: 2px solid var(--bg-white);
  outline-offset: 2px;
}

.hamburger-menu .submenu-toggle {
  background-color: #fff;
  border: none;
  border-radius: 4px;
  padding: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  position: relative;
  transition: background-color 0.3s ease;
}

.hamburger-menu .submenu-toggle:hover {
  background-color: #f5f5f5;
}

.hamburger-menu .arrow-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  position: relative;
}

.hamburger-menu .arrow-icon::before,
.hamburger-menu .arrow-icon::after {
  content: '';
  position: absolute;
  background-color: var(--accent-green);
  transition: transform 0.3s ease;
}

.hamburger-menu .arrow-icon::before {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 6px;
}

.hamburger-menu .arrow-icon::after {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 16px;
}

.hamburger-menu .submenu-toggle[aria-expanded="true"] .arrow-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.hamburger-menu .submenu-toggle-icon {
  background-color: #fff;
  border-radius: 4px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  position: relative;
  transition: background-color 0.3s ease;
}

.hamburger-menu .submenu-toggle-icon .arrow-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  position: relative;
}

.hamburger-menu .submenu-toggle-icon .arrow-icon::before,
.hamburger-menu .submenu-toggle-icon .arrow-icon::after {
  content: '';
  position: absolute;
  background-color: var(--accent-green);
  transition: transform 0.3s ease;
}

.hamburger-menu .submenu-toggle-icon .arrow-icon::before {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 6px;
}

.hamburger-menu .submenu-toggle-icon .arrow-icon::after {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 16px;
}

.hamburger-menu .menu-item-wrapper[aria-expanded="true"] .submenu-toggle-icon .arrow-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.hamburger-menu .contents--child {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0;
  margin: 0;
  list-style: none;
  background-color: var(--accent-green-dark);
}

.hamburger-menu .has-submenu.active .contents--child {
  max-height: 1000px;
  padding: 1rem 0 1rem 1.5rem;
}

.hamburger-menu .contents--child li {
  padding: 0.75rem 0;
}

.hamburger-menu .contents--child li a {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--bg-white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.hamburger-menu .contents--child li a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ========================================

   フッター
   ======================================== */
.footer {
  background-color: var(--accent-green-dark);
  color: var(--bg-white);
  margin: 0;
}

.footer-main {
  padding: 3rem 2rem 2rem;
}

.footer-content {
  display: block;
  gap: 3rem;
  max-width: 800px;
  margin: 0 auto;
}

.footer-column {
  flex: 1;
}

.footer-info {
  text-align: left;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1rem 2rem;
}

.footer-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.5;
  white-space: nowrap;
  width: 100%;
  flex-basis: 100%;
}

.footer-info address {
  flex: 1 1 auto;
  min-width: 280px;
  font-style: normal;
}

.footer-address {
  font-size: 0.9rem;
  margin: 0.3rem 0;
  line-height: 1.6;
}

.footer-tel {
  font-size: 0.95rem;
  margin: 0.8rem 0 0;
  font-weight: 500;
}

.footer-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(0, 0, 0, 0.3);
  color: var(--bg-white);
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-base);
  flex: 0 0 auto;
  align-self: center;
  white-space: nowrap;
}

.footer-map-btn:hover {
  background-color: rgba(0, 0, 0, 0.5);
  color: var(--bg-white);
}

.map-icon {
  font-size: 1.1rem;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 0.8rem;
}

.footer-menu li::before {
  content: '\25B6';
  margin-right: 0.5rem;
  font-size: 0.7rem;
  opacity: 0.8;
}

.footer-menu a {
  color: var(--bg-white);
  text-decoration: none;
  font-size: 0.9rem;
  transition: opacity 0.3s ease;
}

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

.footer-utility {
  background-color: rgba(0, 0, 0, 0.15);
  padding: 1.2rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-utility-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  list-style: none;
}

.footer-utility-nav li {
  position: relative;
}

.footer-utility-nav a {
  color: var(--bg-white);
  text-decoration: none;
  font-size: 0.85rem;
  transition: opacity 0.3s ease;
  display: inline-block;
  padding: 0 1rem;
}

.footer-utility-nav li:not(:last-child)::after {
  content: '|';
  position: absolute;
  right: -0.75rem;
  opacity: 0.5;
}

.footer-utility-nav a:hover {
  color:white;
  opacity: 0.8!important;
  text-decoration: underline;
}

.footer-copyright {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 1rem 2rem;
  text-align: center;
}

.footer-copyright p {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.9;
}
/* ========================================
   テーブル基本スタイル
   ======================================== */
table {
  border-collapse: collapse;
  width: 100%;
  margin: 1rem 0;
}

table caption {
  text-align: left;
  font-weight: bold;
  padding: 0.5rem 0;
  margin-bottom: 0.5rem;
}

table caption.hide {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

table caption span.lside {
  text-align: left;
}

table caption span.rside {
  text-align: right;
}

/* ========================================
   テーブルセル基本スタイル
   ======================================== */
table th,
table td {
  padding: 3px;
  border: 1px solid #999;
}

table tr {
  border-left: 1px solid #999 !important;
}

table th {
  vertical-align: middle;
  background: #F2F2F2;
  text-align: center;
}

table th em {
  background-color: #F2F2F2;
}

table td {
  vertical-align: top;
}

/* ========================================
   テーブルヘッダー行(.hd)
   ======================================== */
table tr.hd th {
  background: #DAE3D5;
  font-weight: bold;
}

table tr.hd th em {
  background-color: #DAE3D5;
}

/* ========================================
   テーブル内位置調整クラス
   ======================================== */
/* 横位置:左 */
table th.ltxt,
table td.ltxt {
  text-align: left;
}

/* 横位置:中央 */
table th.ctxt,
table td.ctxt {
  text-align: center;
}

/* 横位置:右 */
table th.rtxt,
table td.rtxt {
  text-align: right;
}

/* 縦位置:上 */
table th.ttxt,
table td.ttxt {
  vertical-align: top;
}

/* 縦位置:中央 */
table th.mtxt,
table td.mtxt {
  vertical-align: middle;
}

/* 縦位置:下 */
table th.btxt,
table td.btxt {
  vertical-align: bottom;
}

/* 縦横位置:中央 */
table th.cmtxt,
table td.cmtxt {
  vertical-align: middle;
  text-align: center;
}

/* ========================================
   レイアウト用テーブル(ボーダーなし)
   ======================================== */
table.layout {
  border-collapse: separate;
  border: none;
}

table.layout th,
table.layout td {
  border: none;
}

table.layout th {
  background: none !important;
  text-align: left;
}

/* ========================================
   テーブル内リスト
   ======================================== */
table ul.circle03 {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

table ul.circle03 li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 0.4rem;
  background: url(../images/icon_bullet_03.gif) no-repeat left 0.3em;
}

/* 画像がない場合の代替マーカー */
table ul.circle03 li.no-image {
  background: none;
}

table ul.circle03 li.no-image::before {
  content: "●";
  position: absolute;
  left: 0;
  color: #5C7E5A;
  font-size: 0.7rem;
  top: 0.3rem;
}

/* ========================================
   テーブル内アイコン
   ======================================== */
table img.file,
table img.external {
  vertical-align: middle;
  margin: 0 0.2rem;
}

table a {
  color: #0066cc;
  text-decoration: none;
  transition: var(--transition-base);
}

table a:hover {
  color: var(--accent-green-dark);
  text-decoration: underline;
}

/* ========================================
   特定のテーブル用ID (#jyoho_table系 - 緑ボーダー)
   ======================================== */
#jyoho_table table,
#jyoho_table2 table {
  width: 600px;
  margin-bottom: 10px;
  background-color: #DAE3D5;
}

#jyoho_table table tr,
#jyoho_table table td,
#jyoho_table table th,
#jyoho_table2 table tr,
#jyoho_table2 table td,
#jyoho_table2 table th {
  border: solid 1px white !important;
}

#jyoho_table table th,
#jyoho_table2 table th {
  background-color: #ffffff;
}

#jyoho_table table tr.hd th,
#jyoho_table2 table tr.hd th {
  background-color: #B8D4A8;
  color: #333;
}

#jyoho_table p,
#jyoho_table2 p {
  padding-left: 18px;
  background: url(../images/icon_bullet_03.gif) no-repeat left 0.3em;
  margin: 0.3rem 0;
}
/* ---------------------------------------------------------
	年金シミュレーション
--------------------------------------------------------- */

/* デフォルト(スマホ)の表示設定 */
.to_simu {
	display: none;
}

.to_simu_sp {
	display: block;
}

/* PC表示(641px以上) */
@media screen and (min-width: 641px) {
	.to_simu {
		display: block;
	}
	
	.to_simu_sp {
		display: none;
	}
}
/* ========================================
   レスポンシブ: タブレット対応
   ======================================== */
@media (max-width: 768px) {
  table {
    font-size: 0.85rem;
  }
  
  #jyoho_table table,
  #jyoho_table2 table {
    width: 100%;
    max-width: 600px;
  }
  
  table th,
  table td {
    padding: 0.5rem;
  }
  
  /* 横スクロール対応 */
  .table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .hamburger-search {
    padding: 1rem;
  }
  
  .hamburger-search .search-bar {
    max-width: 90%;
    min-width: 280px;
  }
  
  .hamburger-search input.gsc-input {
    font-size: 0.85rem !important;
    min-width: 180px !important;
  }
}

/* ========================================
   レスポンシブ: モバイル対応
   ======================================== */
@media (max-width: 480px) {
  table {
    font-size: 0.8rem;
  }
  
  #jyoho_table table,
  #jyoho_table2 table {
    width: 100%;
  }
  
  table th,
  table td {
    padding: 0.4rem;
  }
  
  table tr.hd th {
    padding: 0.5rem 0.2rem;
    font-size: 0.85rem;
  }
  
  table ul.circle03 li {
    font-size: 0.85rem;
    padding-left: 15px;
  }
  
  .footer-info {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .footer-info address {
    min-width: auto;
    width: 100%;
  }
  
  .footer-map-btn {
    align-self: flex-start;
    margin-top: 0.5rem;
  }
  
  .hamburger-search .search-bar {
    max-width: 95%;
    min-width: 260px;
  }
  
  .hamburger-search input.gsc-input {
    font-size: 0.8rem !important;
    min-width: 160px !important;
  }
}

/* ========================================
   レスポンシブ: タブレット以下 (1260px以下)
   ======================================== */
@media (max-width: 1260px) {
  header {
    z-index: 1001 !important;
  }
  
  .menu-toggle {
    z-index: 1002;
    display: block;
  }

  .header-right {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--accent-green-dark);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    transition: transform 0.4s ease;
    transform: translateX(-120%);
    padding: 100px 0 2rem;
    gap: 0;
    z-index: 990;
    overflow-y: auto;
    box-shadow: 2px 0 8px rgba(0,0,0,0.2);
  }
  
  .header-right.active {
    transform: translateX(-5%);
  }
  
  header nav {

    display: none;
  }
  
  .header-right .top-menu {
    display: none;
  }
  
  nav ul {
    width: 100%;
    flex-direction: column;
    padding: 0;
    gap: 0;
    margin-bottom: 0;
  }
  
  #hamburgerMenu nav ul li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  nav ul li::before,
  nav ul li:last-of-type::before {
    display: none;
  }
  
  nav ul li a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--bg-white);
    font-size: 1rem;
    position: relative;
  }
  
  nav ul li a.menu::after {
    content: '▼';
    position: absolute;
    right: 1.5rem;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    height: auto;
    background: none;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
  }
  
  nav ul li.mobile-active a.menu::after {
    transform: translateY(-50%) rotate(180deg);
  }
  
  header nav ul li.has-megamenu .megamenu {
    position: static;
    transform: none;
    width: 100%;
    max-width: none;
    background-color: rgba(0, 0, 0, 0.3);
    border: none;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    padding: 0;
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  header nav ul li.has-megamenu.mobile-active .megamenu {
    display: block;
    max-height: 1000px;
  }
  
  header nav ul li.has-megamenu .megamenu::before,
  header nav ul li.has-megamenu .megamenu::after {
    display: none;
  }
  
  header nav ul li.has-megamenu::after {
    display: none;
  }
  
  .megamenu-header {
    display: none;
  }
  
  .megamenu-content {
    grid-template-columns: 1fr;
    gap: 0;
    margin: 0;
    padding: 0.5rem 0;
    border: none;
  }
  
  .megamenu-item {
    padding: 0.8rem 2.5rem;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.3);
    color: var(--bg-white);
    font-size: 0.9rem;
    margin: 0;
  }
  
  .megamenu-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--bg-white);
  }
  
  .megamenu-icon {
    color: var(--bg-white);
  }
  
  .top-menu {
    order: 2;
    flex-direction: column;
    width: 100%;
    padding: 1rem 0;
    gap: 1rem;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
  }
  
  .top-left-menu {
    flex-direction: column;
    width: 100%;
    gap: 0;
    margin-right: 0;
    padding: 0 1.5rem;
  }
  
  .top-left-menu a {
    padding: 0.8rem 0;
    color: var(--bg-white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .search-bar {
    display: flex;
    align-items: center;
    background-color: #f5f5f5;
    border-radius: var(--border-radius-lg);
    padding: 0;
    gap: 0;
    overflow: hidden;
  }
  
  .search-bar input.gsc-input {
    border: none !important;
    background: transparent !important;
    outline: none !important;
    padding: 0.3rem !important;
    font-size: 0.9rem !important;
    width: 150px !important;
    height: auto !important;
    font-family: 'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif !important;
  }
  
  .search-bar input.gsc-input::placeholder {
    color: var(--text-light);
  }
  
  .search-bar .gsc-search-button-v2 {
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0.3rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    min-width: auto !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }
  
  .search-bar .gsc-search-button-v2:hover {
    background: transparent !important;
  }
  
  .search-bar .gsc-search-button-v2 svg {
    fill: var(--text-medium) !important;
    width: 18px !important;
    height: 18px !important;
  }
  
  .search-bar .gsc-search-button-v2:hover svg {
    fill: var(--accent-green-dark) !important;
  }
  
  .top-btn {
    width: calc(100% - 3rem);
    text-align: center;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    margin: 0 1.5rem;
  }
}

@media (min-width: 1261px) {
  .menu-toggle {
    display: none;
  }
  
  .hamburger-menu {
    display: none;
  }
  
  .menu-overlay {
    display: none;
  }
  
  .top-menu input.gsc-input {
    width: 150px !important;
  }
  
  .top-menu .search-bar {
    margin: 0 0.5rem;
  }
}

@media (max-width: 1150px) {
  #sidebar {
    display: none !important;
  }
  
  #content {
    width: 100% !important;
    margin-right: 0 !important;
  }
}

/* ========================================
   レスポンシブ: モバイル (768px以下)
   ======================================== */
@media (max-width: 768px) {
  .hamburger-menu {
    top: 88px;
    height: calc(100vh - 88px);
  }
  
  .hamburger-menu .main-menu {
    padding: 0 1rem;
  }
  
  .hamburger-menu .menu-item-wrapper a {
    font-size: 1rem;
  }
  
  header {
    top: 10px;
    width: 95%;
    padding: 0.5rem 1rem;
  }
  
  .logo img {
    max-height: 60px;
    width: auto;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-utility-nav {
    flex-direction: column;
    gap: 0.8rem;
  }
  
  .footer-utility-nav a {
    padding: 0.3rem 0;
  }
  
  .footer-utility-nav li:not(:last-child)::after {
    display: none;
  }
}

@media (min-width: 769px) {
  .hamburger-search .search-bar {
    max-width: 470px;
    width: 60%;
  }
}

@media (max-width: 480px) {
  body {
    font-family: 'Noto Sans JP', 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
    max-width: 100vw;
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  img {
    max-width: 100%;
    height: auto;
  }
  
  header {
    top: 5px;
    width: 98%;
    padding: 0.3rem 0.8rem;
  }
  
  .menu-toggle {
    width: 40px;
    height: 40px;
  }
  
  .menu-toggle__line {
    width: 22px;
    left: 9px;
  }
}

.sp-only {
  display: none;
}

@media (max-width: 530px) {
  .sp-only {
    display: inline;
  }
}

/* メガメニューフッターのレスポンシブ */
@media (min-width: 481px) {
  .megamenu-footer-right {
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    justify-content: flex-start;
  }
  
  .megamenu-footer-btn {
    margin: 0 0.5rem 0 0;
    flex: 0 1 auto;
    max-width: 300px;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .megamenu-footer-right {
    flex-direction: column;
  }
  
  .megamenu-footer-btn {
    margin: 0 2rem;
    text-align: left;
  }
}

/* スクリーンリーダー専用(視覚的には非表示) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* スキップリンクのスタイル */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background-color: #000;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: bold;
  z-index: 9999;
  border-radius: 0 0 4px 0;
}

/* フォーカス時に表示 */
.skip-link:focus {
  top: 0;
  outline: 3px solid #4a90e2;
  outline-offset: 2px;
}


/* ========================================
   #srchBox と #srchBox2 配下のテーブルスタイルリセット
   ======================================== */

/* 基本スタイルのリセット（汎用セレクタのみ） */
#srchBox table th,
#srchBox table td,
#srchBox2 table th,
#srchBox2 table td,
#srchBox3 table th,
#srchBox3 table td {
  padding: 0;
  border: none;
}

#srchBox table tr,
#srchBox2 table tr,
#srchBox3 table tr {
  border-left: none !important;
}

#srchBox table th,
#srchBox2 table th,
#srchBox3 table th {
  vertical-align: baseline;
  background: none;
  text-align: left;
}

#srchBox table th em,
#srchBox2 table th em,
#srchBox3 table th em {
  background-color: transparent;
}

#srchBox table td,
#srchBox2 table td,
#srchBox3 table td {
  vertical-align: baseline;
}

#srchBox table a,
#srchBox2 table a,
#srchBox3 table a {
  color: inherit;
  text-decoration: none;
  transition: none;
}

#srchBox table a:hover,
#srchBox2 table a:hover,
#srchBox3 table a:hover {
  color: inherit;
  text-decoration: none;
}

#srchBox table img.file,
#srchBox table img.external,
#srchBox2 table img.file,
#srchBox2 table img.external,
#srchBox3 table img.file,
#srchBox3 table img.external {
  vertical-align: baseline;
  margin: 0;
}

/* ========================================
   検索窓のカスタマイズ
   ======================================== */
/* 表マージン調整 */
#srchBox table,
#srchBox2 table {
  margin-top: 9px !important;
  margin-left: 5px !important;
  margin-bottom: 10px !important;
}
/* 検索ボックス全体を楕円形に・枠の色を#333333 */
#srchBox table.gsc-search-box,
#srchBox2 table.gsc-search-box {
  border-radius: 40px !important;
  overflow: hidden !important;
  background-color: #FFF !important;
  box-shadow: 0px 0px 2px;
  width: 100% !important;
  max-width: 800px !important;
  table-layout: fixed !important;
}
/* 検索窓 左側の角丸を維持、ボーダー削除 */
#srchBox .gsc-input-box,
#srchBox2 .gsc-input-box {
  border-radius: 0 !important;
  padding: 0 10px !important;
  border: none !important;
}
/* 文字サイズ変更 */
#srchBox .gsc-input-box input.gsc-input,
#srchBox2 .gsc-input-box input.gsc-input {
  font-size: 18px !important;
}
/* 検索窓エリアのボーダー削除・幅調整 */
#srchBox table.gsc-search-box td.gsc-input,
#srchBox2 table.gsc-search-box td.gsc-input {
  width: calc(100% - 90px) !important;
  padding-right: 0 !important;
  border: none !important;
}
/* クリアボタンセルの幅固定 */
#srchBox table.gsc-search-box td.gsc-clear-button,
#srchBox2 table.gsc-search-box td.gsc-clear-button {
  width: 40px !important;
  background-color: #fff !important;
  border: none !important;
}
/* ボタンエリアのボーダー削除・背景白・幅固定 */
#srchBox table.gsc-search-box td.gsc-search-button,
#srchBox2 table.gsc-search-box td.gsc-search-button {
  width: 50px !important;
  border: none !important;
  background-color: #fff !important;
  padding: 0 !important;
}
/* ボタン 右側の角丸を削除、背景白、色を#333 */
#srchBox .gsc-search-button-v2,
#srchBox .gsc-search-button-v2:hover,
#srchBox .gsc-search-button-v2:focus,
#srchBox2 .gsc-search-button-v2,
#srchBox2 .gsc-search-button-v2:hover,
#srchBox2 .gsc-search-button-v2:focus {
  padding: 12px !important;
  margin: 0 !important;
  border-radius: 0 !important;
  border: none !important;
  background-color: #fff !important;
  box-shadow: none !important;
  min-width: 50px !important;
  max-width: 50px !important;
}
/* 検索ボタンの大きさ変更・色を#333 */
#srchBox .gsc-search-button-v2 svg,
#srchBox2 .gsc-search-button-v2 svg {
  width: 18px !important;
  height: 18px !important;
  margin-right: 3px !important;
  fill: #333333 !important;
}
/* ボタンにカーソルを当てたら色を変える */
#srchBox .gsc-search-button-v2:hover,
#srchBox2 .gsc-search-button-v2:hover {
  opacity: 0.7 !important;
  background-color: #fff !important;
}