/***** 著作非表示 *****/
.site-footer-copyright p:nth-child(2) {
    display: none !important;
}

/* ページヘッダーを非表示 */
.page-header {
    display: none !important;
}

/* ==========================
   メニュー
   ========================== */
/* ボタンを中央寄せ */
.tab-buttons {
  display: flex !important;
  justify-content: center !important; /* 中央寄せ */
  gap: 10px !important;              /* ボタン間隔 */
  flex-wrap: wrap !important;         /* 画面幅が狭い場合は改行 */
  margin-bottom: 20px !important;
}

/* タブボタン共通 */
.tab-btn {
  padding: 10px 20px !important;
  cursor: pointer !important;
  font-size: 16px !important;
  border-radius: 30px !important;       /* 丸み */
  border: 2px solid #38b6c8 !important; /* 枠線 */
  background-color: #fff !important;    /* 非選択は白背景 */
  color: #38b6c8 !important;            /* 非選択は青文字 */
  transition: all 0.3s ease !important;
  text-align: center !important;
  display: inline-block !important;
}

/* 選択時 */
.tab-btn.active {
  background-color: #38b6c8 !important; /* 青背景 */
  color: #fff !important;               /* 白文字 */
  border-color: #38b6c8 !important;     /* 枠線も青 */
}

/* ホバー時 */
.tab-btn:hover {
  background-color: #2e96a0 !important; /* 暗めの青 */
  color: #fff !important;
  border-color: #2e96a0 !important;
}

/* コンテンツ枠線・余白はなし */
.tab-content {
  display: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}

.tab-content.active {
  display: block !important;
}

/* ==========================
   コンタクトフォーム
   ========================== */
.table-contactform7{
  overflow: hidden;
  table-layout: fixed;
}
 
.required-contactform7{
  padding: 5px;
  background: #DE8686;
  color: #fff;
  border-radius: 3px;
  margin-right: 3px;
}
 
.unrequired-contactform7{
  padding: 5px;
  background: #BDBDBD;
  color: #fff;
  border-radius: 3px;
  margin-right: 3px;
}
 
.table-contactform7 th{
  font-weight:bold;
}
 
.table-contactform7 input,
.table-contactform7 textarea{
  max-width: 90% !important;
  margin: 5px 10px 10px 5px;
}
 
.address-100 input{
  max-width: 90% !important;
  margin: 5px 10px 10px 5px;
}
 
.message-100 textarea{
  width: 100%;
  margin: 5px 10px 10px 5px;
}

/* PC用（900px以上） */
@media screen and (min-width: 900px){
  .table-contactform7 th{
    width:28%; 
    margin: 0 !important;        /* ← 中央揃えを消す */
    text-align: left !important;  /* ← 左寄せを確実に */
  }

  /* 左列の文字を完全に左寄せ */
  .table-contactform7 th .title-contactform7 {
      display: block !important;
      text-align: left !important;
      justify-content: flex-start !important;
  }
}
     
/* スマホ用（900px未満） */
@media screen and (max-width: 900px){
  .table-contactform7{
    display:block;
  }     
       
  .table-contactform7 tbody,
  .table-contactform7 tr{
    display: block;
    width: 100%;
  }
  .table-contactform7 th{
    width:100%;
    display:block;
    margin: 0 !important; /* ← 左寄せに変更 */
    border:none;
    text-align: left !important; /* ← 左寄せを確実に */
  }
  .table-contactform7 td{
    display: list-item;
    list-style-type:none;
    margin:0;
    padding:0;
    width: 100%;
    border-top: none !important;
  }

  /* 左列の文字を完全に左寄せ */
  .table-contactform7 th .title-contactform7 {
      display: block !important;
      text-align: left !important;
      justify-content: flex-start !important;
  }
}
/* th を強制左寄せ */
.table-contactform7 th {
    text-align: left !important;
    font-weight: bold;
}

/* th 内の span も左寄せ */
.table-contactform7 th .title-contactform7 {
    display: inline-block !important;
    text-align: left !important;
}


/* フッター上部のナビごと非表示 */
footer .footer-nav {
    display: none !important;
}

/* フッターウィジェットエリア1 内のロゴ画像を上揃え */
.footer-widgets .widget:first-child {
    display: flex;
    align-items: flex-start; /* 上揃え */
    padding: 0; /* 不要な余白を削除 */
    margin: 0;
}

.footer-widgets .widget:first-child img {
    display: block; /* 画像下の余白を消す */
    margin: 0;
    max-width: 100%; /* レスポンシブ対応 */
}

/* ==========================
   会員ログインボタン装飾
   ========================== */
#menu-item-3730 a {
  background-color: #38b6c8; /* ボタン背景色 */
  color: #fff;                /* 文字色 */
  padding: 8px 20px;          /* ボタン内の縦・横余白 */
  margin: 5px 0;              /* 上下マージンでボタン間のスペース */
  border-radius: 40px;        /* 丸み */
  transition: all 0.3s ease;  /* ホバー時アニメーション */
  text-decoration: none;      /* 下線消去 */
  display: inline-block;      /* ボタン化 */
}

#menu-item-3730 a:hover {
  background-color: #2fa1b0; /* ホバー時背景色 */
}


/* ==========================
   左5つ通常メニュー文字ホバー色
   ========================== */
#global-nav ul.menu li.menu-item:not(#menu-item-3730) a:hover strong {
  color: #38b6c8; /* ホバー時水色文字 */
}

/* ==========================
   Lightningテーマデフォルト下線消去
   擬似要素によるラインも完全に消す
   ========================== */
.global-nav-list > li:before {
  border-bottom: none !important;  /* 下線消去 */
  content: none !important;        /* 擬似要素自体消去 */
}
/* ==========================
   会員ログインボタン装飾
   ========================== */
#menu-item-3730 a {
  background-color: #38b6c8; /* ボタン背景色 */
  color: #fff;                /* 文字色 */
  padding: 14px 20px;         /* ボタン内余白 */
  border-radius: 40px;        /* 丸み */
  transition: all 0.3s ease;  /* ホバー時アニメーション */
  text-decoration: none;      /* 下線消去 */
  display: inline-block;      /* ボタン化 */
}

#menu-item-3730 a:hover {
  background-color: #2fa1b0; /* ホバー時背景色 */
}

/* ==========================
   左5つ通常メニュー文字ホバー色
   ========================== */
#global-nav ul.menu li.menu-item:not(#menu-item-3730) a:hover strong {
  color: #38b6c8; /* ホバー時水色文字 */
}

/* ==========================
   Lightningテーマデフォルト下線消去
   擬似要素によるラインも完全に消す
   ========================== */
.global-nav-list > li:before {
  border-bottom: none !important;  /* 下線消去 */
  content: none !important;        /* 擬似要素自体消去 */
}

/* ユーザー名注意書き */
.swpm-username-note {
    font-size: 12px;       /* 小さめ */
    color: #888888;        /* 薄いグレー */
    display: inline-block;
    margin-top: 2px;
}
