@charset "UTF-8";
/* ==========================================================
   static.css — 静的化に伴う補正・追加パーツ・スマホ対応（マイコマサービス）
   元テーマのCSSは変更せず、ここで上書き
   ========================================================== */
html { scroll-behavior: smooth; }

/* ロゴ（h1 / p 共通） */
#pageTitle { margin: -10px 0 0 23px; width: 270px; height: 90px; }
#pageTitle a { display: block; width: 100%; height: 0; padding-top: 90px; overflow: hidden; }

.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 見出し：タグ変更後も元の見た目を維持 */
.title { display: block; box-sizing: content-box; }
.title a { color: inherit; }
.news { font-size: 12px; line-height: 20px; margin: 0 0 12px; }
.newsTextBox .h5 { font-size: 14px; font-weight: bold; margin: 0 0 6px; }
.entryTitle { margin: 10px 0 12px; }
.entryTitle a { color: #1b311c; }
.tc { text-align: center; }
.tableWrap { max-width: 100%; }
.small { font-size: 10px; font-weight: normal; }

/* パンくず */
.pankuzu { margin: 0 0 10px 10px; font-size: 12px; }

/* 一覧（要約） */
.summaryImg { margin-bottom: 8px; }
.summaryImg img { width: 200px; height: auto; }
.moreLink { font-size: 12px; padding-top: 6px; }
.moreLink a::before { content: "▶ "; font-size: 10px; }

/* トップ：新着情報（dl/dd → ul/li） */
.headlineList { list-style: none; margin: 0; padding: 0; }
.headlineList time { display: inline; }

/* サイドバー */
.subTitle { margin: 0; padding: 0; width: auto; }
#subBox h2.subTitle { margin: 0; padding: 0; width: auto; }
.icon_list { margin-right: 5px; }
#subBox { padding-bottom: 20px; }

/* 会社概要：地図 */
.gmap { width: 100%; max-width: 560px; height: 350px; border: 0; display: block; margin: 10px 0 6px; }

/* お問い合わせ */
.contactBtn { margin: 10px 0 20px; text-align: center; }
.contactBtn a { display: inline-block; padding: 14px 40px; background: #4f9a4f; color: #fff !important; font-size: 15px; font-weight: bold; border-radius: 4px; text-decoration: none; letter-spacing: .05em; }
.contactBtn a:hover { background: #3f833f; text-decoration: none; }
.contactBtn span { display: block; margin-top: 6px; font-size: 11px; color: #666; }
.contactTable { width: 100%; }
.contactTable td { line-height: 1.8; }

/* サイトマップ */
.sitemapList ul { margin: 0 0 0 1.2em; padding: 0; line-height: 2; font-size: 13px; }
.sitemapList ul ul { margin-left: 1.5em; font-size: 12px; }

/* フッター */
#footerBox { height: auto; padding-bottom: 20px; }
#footerBox .copyright { margin: 0; }

/* ==========================================================
   スマホ（768px以下）
   ========================================================== */
@media (max-width: 768px) {
  body { background-size: auto 100%; -webkit-text-size-adjust: 100%; }
  #allBox { width: auto; background: #fff; }
  #headerBox { width: auto; height: auto; padding: 10px 0 8px; background-size: 900px auto; background-position: left top; }
  #pageTitle { margin: 0 0 0 10px; width: 280px; height: 92px; }
  #pageTitle a { padding-top: 92px; }
  #description { margin: 6px 12px 0 !important; font-size: 11px; }
  #navi { width: auto; height: auto; padding: 0; background: #4f9a4f; display: flex; flex-wrap: wrap; }
  #navi li { float: none; width: 50%; }
  #navi li:last-child { width: 100%; }
  #navi li a { height: auto; padding: 12px 0; background: none !important; color: #fff !important; text-align: center; font-weight: bold; font-size: 13px; border-bottom: 1px solid rgba(255,255,255,.3); }
  #navi li a[aria-current] { background: #3f833f !important; }
  #mainBox, #subBox { float: none; width: auto; margin: 16px 12px 0; padding: 0; box-sizing: border-box; }
  #subBox { padding: 12px; margin-top: 24px; background-image: none; }
  #mainVisual { width: 100%; height: auto; }
  #headlineBox { width: auto; height: auto; padding: 0 0 10px; margin: 16px 0 0; background: none; border: 1px solid #4f9a4f; border-radius: 6px; overflow: hidden; }
  #headlineBox #headlineTitle { position: static; width: auto; height: auto; clip: auto; white-space: normal; margin: 0 0 6px; padding: 8px 12px; background: #4f9a4f; color: #fff; font-size: 14px; letter-spacing: .2em; }
  .newsText { float: none; width: auto; margin: 4px 10px; }
  .news_title { display: block; width: auto; margin: 0; }
  #naviBox { margin: 0 0 20px; }
  img { max-width: 100%; height: auto; }
  .dateBox, .newsBox { width: auto; margin: 0 0 16px; }
  .title { width: auto; height: auto; min-height: 42px; line-height: 1.4; padding: 10px 6px 8px; background-size: 100% 100%; font-size: 16px; text-indent: 0; padding-left: 40px; }
  h4, .h4 { width: auto; height: auto; min-height: 35px; background-size: 100% 100%; line-height: 1.4; padding: 8px 6px 6px 20px; text-indent: 0; font-size: 14px; }
  .photoBoxL, .photoBoxC { float: none; width: auto !important; margin: 0 0 10px; }
  .photoBoxR { width: auto !important; max-width: 45%; }
  .summaryImg { max-width: 40%; }
  .tableWrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .newsTextBox table { min-width: 480px; }
  .contactTable { min-width: 0 !important; }
  .contactTable th, .contactTable td { display: block; width: auto; }
  #sub_01, #sub_02, #sub_03, #sub_04 { margin-left: auto; margin-right: auto; }
  #footer_line { width: 100%; height: auto; }
  #footerBox { width: auto; padding: 16px 12px 24px; background: #fff; font-size: 11px; }
  #footerBox hr { margin-top: 20px; }
}
