@charset "utf-8";
/* ==========================================================================
   株式会社HRC  静的サイト用スタイル
   旧WordPressテーマ（TCD ORION）の見た目を再現して新規に記述したもの
   PC / スマホの切り替えは 970px（旧テーマと同じ）
   ========================================================================== */

:root {
  --main: #26963C;          /* テーマカラー（緑） */
  --dark: #222;
  --text: #333;
  --footer-bg: #f5f7f6;
  --font-base: Verdana, "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, sans-serif;
  --font-rich: "Times New Roman", "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
}

/* リセット
---------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body, div, span, h1, h2, h3, p, a, img, ul, li, table, tbody, tr, th, td, header, footer, main, nav, figure {
  margin: 0; padding: 0; border: 0; font-size: 100%; vertical-align: baseline;
}
ul { list-style: none; }
img { max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* 基本設定
---------------------------------------------------------------------- */
html { scroll-behavior: smooth; }
body { font-family: var(--font-base); font-size: 15px; color: var(--text); line-height: 1; background: #fff; -webkit-text-size-adjust: 100%; }
a { color: var(--text); text-decoration: none; transition: background-color .2s ease, color .2s ease; }
a:hover { color: var(--main); text-decoration: underline; }
.rich_font { font-family: var(--font-rich); font-weight: 400; }
svg { display: block; fill: currentColor; }

#main_contents { background: #fff; width: 100%; position: relative; z-index: 10; }

/* ローディング（JS有効時のみ表示）
---------------------------------------------------------------------- */
#site_loader_overlay { display: none; }
.js #site_loader_overlay {
  display: block; position: fixed; inset: 0; z-index: 99999; background: #fff;
  transition: opacity .8s ease;
}
.js #site_loader_overlay.is-hidden { opacity: 0; pointer-events: none; }
#site_loader_spinner {
  width: 60px; height: 60px; border-radius: 100%; margin: -30px 0 0 -30px;
  border: 4px solid rgba(38,150,60,0.2); border-top-color: var(--main);
  position: absolute; top: 50%; left: 50%;
  animation: loading 1.2s linear infinite;
}
@keyframes loading { to { transform: rotate(360deg); } }

/* ======================================================================
   PC（971px以上）
   ====================================================================== */

/* ヘッダー
---------------------------------------------------------------------- */
#top { position: relative; }
#header { width: 100%; height: 60px; background: var(--dark); position: relative; z-index: 9999; }
#header_inner { width: 100%; height: 60px; position: relative; }
#header_logo { height: 60px; line-height: 60px; position: absolute; left: 30px; z-index: 100; }
#header_logo .logo { font-size: 21px; line-height: 60px; }
#header_logo .logo a { color: #fff; display: inline-block; }
#header_logo .logo a:hover { color: var(--main); }
.menu_button { display: none; }

#global_menu { position: absolute; width: 100%; top: 0; z-index: 20; }
#global_menu > ul { height: 60px; text-align: center; font-size: 0; }
#global_menu > ul > li { display: inline-block; font-size: 15px; }
#global_menu > ul > li > a {
  display: block; height: 60px; line-height: 60px; padding: 0 35px;
  font-size: 15px; font-weight: bold; color: #fff;
}
#global_menu > ul > li > a:hover,
#global_menu li.current > a { color: var(--main); text-decoration: none; }

/* トップページ：全画面メインビジュアル */
.home #top { height: 100vh; min-height: 480px; }
.home #header { position: absolute; left: 0; bottom: 0; }
#header_video {
  width: 100%; height: 100%; position: absolute; inset: 0;
  background-color: #000; background-position: center center; background-size: cover; background-repeat: no-repeat;
}
#header_logo_index {
  position: absolute; z-index: 9; top: calc(50% - 20px); left: 50%; transform: translate(-50%, -50%);
  text-align: center; color: #fff;
}
#header_logo_index .logo { margin: 0 0 20px; }
#header_logo_index .logo img { display: block; width: 300px; margin: 0 auto; }
#header_logo_index .link {
  display: block; width: 60px; height: 60px; margin: 0 auto; border-radius: 100%;
  background: #fff; color: #333; transition: background-color .3s ease-in-out, color .3s ease-in-out;
}
#header_logo_index .link svg { width: 22px; height: 22px; margin: 19px auto 0; }
#header_logo_index .link:hover { background: var(--main); color: #fff; }
.js #header_logo_index { opacity: 0; }
.js.is-loaded #header_logo_index { animation: fadein 3s ease 1.2s forwards; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

/* 下層ページ：見出し帯・パンくず
---------------------------------------------------------------------- */
#header_image { position: relative; width: 100%; }
#header_image.no_image { height: 200px; background: #000; }
#header_image .caption {
  position: absolute; top: 50%; left: 0; width: 100%; padding: 0 150px;
  transform: translateY(-50%); text-align: center; color: #fff;
}
#header_image .title { font-size: 30px; line-height: 1.6; }
.js #header_image .title { opacity: 0; }
.js.is-loaded #header_image .title { animation: fadein 3s ease .3s forwards; }

#bread_crumb { background: var(--dark); height: 60px; line-height: 60px; overflow: hidden; }
#bread_crumb ul { width: 1200px; max-width: calc(100% - 60px); margin: 0 auto; }
#bread_crumb li { display: inline; color: #fff; font-size: 14px; position: relative; }
#bread_crumb li + li { margin-left: 15px; padding-left: 15px; }
#bread_crumb li + li::before {
  content: ""; position: absolute; left: -2px; top: 50%; width: 6px; height: 6px; margin-top: -3px;
  border-top: 1px solid #fff; border-right: 1px solid #fff; transform: rotate(45deg);
}
#bread_crumb li a { color: #fff; }
#bread_crumb li.home a { display: inline-block; vertical-align: middle; position: relative; top: -2px; }
#bread_crumb li.home svg { width: 15px; height: 15px; }
#bread_crumb li.home span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
#bread_crumb li.home a:hover { color: var(--main); }

/* 本文
---------------------------------------------------------------------- */
#main_col { width: 1260px; max-width: 100%; margin: 70px auto 100px; padding: 0 30px; }
.post_content p { line-height: 2.5; margin: 0 0 2em; word-wrap: break-word; }
.post_content a { color: #2D8696; }
.post_content a:hover { color: var(--main); }
.post_content img { display: inline-block; max-width: 100%; height: auto; }
.post_content iframe { display: block; max-width: 100%; }
.post_content .lead { font-size: 150%; font-weight: 600; line-height: 1.2; margin: 0 0 10px; padding: 10px 0 0; }

/* 会社概要の表 */
.company_table { width: 100%; border-collapse: collapse; table-layout: fixed; margin: 0 0 24px; }
.company_table th,
.company_table td { padding: 10px; border: 1px solid #999; line-height: 2.2; vertical-align: middle; word-break: break-word; background: #fff; }
.company_table th { width: 25%; background: #eee; font-weight: normal; text-align: center; }

/* トップページ コンテンツ
---------------------------------------------------------------------- */
.index_content1 { width: 1200px; max-width: calc(100% - 60px); margin: 0 auto; padding: 115px 0 55px; }
.index_content2 img { display: block; width: 100%; height: auto; }
.index_content_header { text-align: center; padding: 0 50px; margin-bottom: 55px; }
.index_content_header .headline { font-size: 40px; margin: 0 0 20px; color: #000; }
.index_content_header .desc { font-size: 15px; line-height: 250%; }

.index_box_list { display: flex; gap: 60px; padding: 60px 0 65px; }
.index_box_list .box { flex: 1 1 0; position: relative; padding: 0 0 75px; }
.index_box_list .image { display: block; margin: 0 0 25px; overflow: hidden; }
.index_box_list .image img { display: block; width: 100%; height: auto; transform: scale(1); transition: transform .35s ease-in-out; backface-visibility: hidden; }
.index_box_list .image a:hover img { transform: scale(1.2); }
.index_box_list .headline { font-size: 36px; margin: 0 0 10px; color: #000; }
.index_box_list .desc { font-size: 14px; line-height: 250%; }
.index_box_list .link {
  position: absolute; left: 0; right: 0; bottom: 0; display: block; width: 180px; height: 50px; margin: 0 auto;
  background: #ccc; color: #fff; font-size: 14px; line-height: 50px; text-align: center;
}
.index_box_list .link::after {
  content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 12px;
  border-top: 2px solid #fff; border-right: 2px solid #fff; transform: rotate(45deg); vertical-align: 1px;
}
.index_box_list .link:hover { background: var(--main); color: #fff; text-decoration: none; }

/* フッター
---------------------------------------------------------------------- */
#footer_top { background: var(--footer-bg); }
#footer_top_inner { width: 1200px; max-width: calc(100% - 60px); margin: 0 auto; padding: 65px 0 50px; text-align: center; }
#footer_logo .logo img { display: block; margin: 0 auto; width: 200px; }
#footer_bottom { width: 1200px; max-width: calc(100% - 60px); margin: 0 auto; padding: 20px 0 30px; }
#footer_menu_bottom { text-align: center; margin: 15px 0 0; }
#footer_menu_bottom li { display: inline-block; font-size: 14px; }
#footer_menu_bottom li a { display: block; border-right: 1px solid #ccc; padding: 0 15px 0 0; margin: 0 15px 0 0; }
#footer_menu_bottom li:last-child a { border: none; padding: 0; margin: 0; }
#copyright { text-align: center; font-size: 14px; background: #000; height: 60px; line-height: 60px; color: #fff; }
#copyright a { color: #fff; }

/* ページ上部へ戻るボタン */
#return_top { position: fixed; right: 0; bottom: 0; z-index: 10; transform: translate3d(0, 200%, 0); transition: transform .35s; }
#return_top.active { transform: translate3d(0, 0, 0); }
#return_top a { display: block; width: 60px; height: 60px; background: rgba(0,0,0,0.2); color: #fff; }
#return_top a:hover { background: var(--main); color: #fff; }
#return_top svg { width: 22px; height: 22px; margin: 0 auto; position: relative; top: 19px; }

/* ======================================================================
   スマートフォン・タブレット（970px以下）
   ====================================================================== */
@media screen and (max-width: 970px) {

  #header { height: 55px; background: #fff; position: relative; z-index: 100; }
  .home #header { position: relative; bottom: auto; }
  #header_inner { height: 55px; }
  #header_logo { position: static; height: 55px; line-height: 56px; margin: 0 0 0 15px; width: calc(100% - 90px); overflow: hidden; }
  #header_logo .logo { font-size: 18px; line-height: 56px; }
  #header_logo .logo a { color: #333; display: block; }
  #header_logo .logo a:hover { color: #333; }

  .menu_button { display: block; position: absolute; top: 0; right: 0; z-index: 9; width: 56px; height: 56px; color: #000; }
  .menu_button svg { width: 22px; height: 22px; margin: 0 auto; }
  .menu_button:hover, .menu_button.active { background: #333; color: #fff; }

  #global_menu { display: none; top: 56px; z-index: 9; box-shadow: 1px 2px 1.5px rgba(0,0,0,0.1); }
  #global_menu.open { display: block; }
  #global_menu > ul { height: auto; text-align: left; }
  #global_menu > ul > li { display: block; }
  #global_menu > ul > li > a {
    height: 50px; line-height: 50px; padding: 0 15px; font-size: 13px; font-weight: normal;
    color: #fff; background: #333;
  }
  #global_menu > ul > li > a:hover,
  #global_menu li.current > a { color: #fff; background: var(--main); }

  /* トップ：ヘッダーの下に全画面画像 */
  .home #top { height: auto; min-height: 0; }
  #header_video { position: relative; height: 100vh; height: 100svh; }
  #header_logo_index { top: calc(55px + (100vh - 20px) / 2); top: calc(55px + (100svh - 20px) / 2); width: 300px; max-width: 80%; }
  #header_logo_index .logo img { width: 100%; }

  /* 下層ページ */
  #header_image.no_image { height: 150px; }
  #header_image .caption { padding: 0 20px; }
  #header_image .title { font-size: 28px; }
  #bread_crumb { height: 40px; line-height: 40px; }
  #bread_crumb ul { width: auto; max-width: none; margin: 0 20px; }
  #bread_crumb li { font-size: 12px; }
  #bread_crumb li.home svg { width: 13px; height: 13px; }

  #main_col { width: auto; margin: 0; padding: 30px 20px; }
  .post_content p { line-height: 2; margin: 0 0 1em; font-size: 14px; }

  /* トップ コンテンツ */
  .index_content1 { width: 100%; max-width: none; padding: 25px 0 50px; }
  .index_content_header { padding: 0 20px; margin-bottom: 0; }
  .index_content_header .headline { font-size: 20px; margin: 0 0 5px; line-height: 160%; text-align: left; }
  .index_content_header .desc { font-size: 14px; line-height: 200%; text-align: left; }

  .index_box_list { display: block; padding: 40px 0 0; }
  .index_box_list .box { display: flex; align-items: flex-start; margin: 0 0 30px; padding: 0 20px; }
  .index_box_list .image { flex: 0 0 calc(40% - 15px); margin: 0 15px 0 0; }
  .index_box_list .info { flex: 1 1 60%; padding: 0 0 0 15px; }
  .index_box_list .headline { font-size: 28px; margin: 0 0 20px; text-align: center; }
  .index_box_list .desc { margin: 0 0 20px; line-height: 200%; }
  .index_box_list .link { position: relative; left: auto; right: auto; bottom: auto; width: 140px; height: 40px; line-height: 40px; margin: 0; }

  /* フッター */
  #footer_top_inner { width: 100%; max-width: none; padding: 30px 0 10px; }
  #footer_logo .logo img { max-width: 100%; }
  #footer_bottom { width: auto; max-width: none; padding: 0; background: var(--footer-bg); }
  #footer_menu_bottom { text-align: left; margin: 25px 0 0; }
  #footer_menu_bottom ul { display: flex; flex-wrap: wrap; }
  #footer_menu_bottom li { display: block; width: 50%; font-size: 12px; line-height: 160%; }
  #footer_menu_bottom li a,
  #footer_menu_bottom li:last-child a { border: none; border-top: 1px dotted #ccc; padding: 15px 20px; margin: 0; }
  #footer_menu_bottom li a:hover { text-decoration: none; color: #fff; background: var(--main); }
  #copyright { font-size: 12px; }
}

@media screen and (max-width: 550px) {
  .index_box_list .box { display: block; margin: 0; }
  .index_box_list .image { margin: 0 0 30px; }
  .index_box_list .info { padding: 0; }
  .index_box_list .link { margin: 0 auto 30px; }
  .index_box_list .box3 .link { margin-bottom: 0; }
}

@media screen and (max-width: 500px) {
  #footer_menu_bottom li { width: 100%; }
}

@media screen and (max-width: 485px) {
  #header_image .title { font-size: 20px; }
}

/* 会社概要の表：狭い画面では縦積み */
@media screen and (max-width: 400px) {
  .company_table { border-top: 1px solid #999; }
  .company_table th,
  .company_table td { display: block; width: 100%; }
  .company_table td { text-align: left; }
  .company_table th { border-top: none; border-bottom: none; }
}
