
/*
Theme Name: Lightning Child Sample
Theme URI:
Template: lightning
Description:
Author:
Tags:
Version: 0.6.1
*/

/* =========================================
   全体設定
========================================= */
html {
  scroll-behavior: smooth;
}

.site-header {
  background-color: rgba(255, 255, 255, 0.8);
}

.global-nav-name i {
  margin: 0 auto 10px !important;
  display: block !important;
  text-align: center !important;
}

@media screen and (max-width: 720px) {
  .site-body-container,
  .main-section {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 0 0 0 !important;
    margin: 0 0 0 0 !important;
  }
}

@media screen and (max-width: 560px) {
  .main-section--col--two,
  .site-body,
  .site-body-container,
  .main-section {
    width: 100%;
    margin: 0;
    padding: 5px;
  }

  .page-top2 {
    right: 10px !important;
  }
}

/* Lightning標準パンくず非表示 */
.breadcrumb {
  display: none;
}

/* =========================================
   フッター
========================================= */
.site-footer {
  border-top: none;
  background: var(--site-primary-hover, #278E98);
}

.site-footer,
.site-footer a,
.site-footer a:visited {
  color: #FFFFFF;
}

.site-footer-copyright p:nth-child(2) {
  display: none;
}

/* =========================================
   共通レイアウト・見出し
========================================= */
.site-body-container {
  padding: 0;
}

.page-header {
  display: none;
}

h2 {
  font-size: 24px;
  border-top: none;
  border-bottom: none;
}

h3,
h3:before,
h3:after {
  border-bottom: none;
  font-size: 18px;
}

/* ヘッダーナビ */
#global-nav a {
  color: #666;
}

.grecaptcha-badge {
  visibility: hidden;
}

/* =========================================
   トップページ一覧
========================================= */
.top-ichiran {
  width: 100%;
}

.new-ttl25 {
  padding: 5px 0 5px 15px;
  margin: 0 20px 20px 0;
}

.new-ttl25 .left-link {
  color: #444;
  float: right;
  font-size: 14px;
  font-weight: normal;
}

.child {
  width: 70%;
  float: left;
}

.side-box {
  width: 30%;
  float: left;
}

/* =========================================
   ヘッダーナビアイコン
========================================= */
.global-nav-name i {
  font-size: 1.25rem;
  display: block;
  color: var(--site-primary, #37B1BE);
  margin-right: 0;
  margin-bottom: 0.5rem;
}

/* ヘッダーナビのボーダー */
.global-nav,
.header_scrolled .site-header {
  border-top: 1px solid var(--vk-color-border-hr);
}

/* タブレットのドロップダウンアイコン */
.device-mobile .global-nav-list .acc-btn {
  top: 50%;
  transform: translateY(-50%);
}

/* モバイルナビのアイコン */
.vk-mobile-nav nav ul li i {
  color: var(--site-primary, #37B1BE);
}

/* =========================================
   コメント等の非表示
========================================= */
#respond,
.entry-meta,
.next-prev,
.entry-footer {
  display: none;
}

/* カテゴリ一覧 */
.archive-description {
  font-size: 12px;
}

/* =========================================
   TOPページ キーワード検索
========================================= */
.key_search {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 15px;
  background-color: var(--site-primary-soft, #EAF7F8);
}

.key_search p {
  width: 20%;
  margin: 0;
}

.key_search form {
  width: 80%;
}

/* =========================================
   TOP画像下のテキスト
========================================= */
.top-img-box116 {
  width: 100%;
  display: block;
  box-sizing: border-box;
  margin: 0 auto 0;
}

.top-img-box116 img {
  max-width: 100%;
}

.top-txt-box116 {
  margin: -5px auto 30px;
  width: 100%;
  display: block;
  background: #FFFFFF;
  font-size: 12px;
  color: #616161;
  padding: 15px;
  border: 2px solid var(--site-primary, #37B1BE);
}

/* =========================================
   職種タブ切り替え
========================================= */
.main-nav-list {
  margin: 0 auto;
}

.main-nav-list .title {
  font-size: 24px;
  margin-bottom: -10px;
  color: #4b4a48;
  font-weight: bold;
}

.main-nav-list h2 {
  align-items: center !important;
  border-top: none;
  border-bottom: none;
  padding: 0;
}

.main-nav-list h2 a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: bold;
}

/* 職種画像アイコン：サイト別カラー */
h2 .top-row > img {
  width: 30px;
  height: auto;
  position: relative;
  top: 5px;
  filter: var(--site-icon-filter, none) !important;
}

.main-nav-list h2 span {
  font-size: 12px;
  color: #777;
  font-weight: normal;
}

.main-nav-list h2 i {
  font-size: 16px;
  color: #777;
}

.main-nav-list h2 a:hover {
  transition: .3s ease;
  padding-left: 5px;
}

.main-nav-list ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  justify-content: flex-start;
  margin-bottom: 50px;
}

.main-nav-list li {
  list-style: none;
  font-size: 14px;
  padding: 15px 10px;
  border-bottom: 1px solid color-mix(
    in srgb,
    var(--site-primary, #37B1BE) 15%,
    white
  );
  width: calc(25% - 10px);
  box-sizing: border-box;
  margin: 0;
}

/* 1段目のリストにborder-top */
.main-nav-list li:nth-child(-n+4) {
  border-top: 1px solid color-mix(
    in srgb,
    var(--site-primary, #37B1BE) 15%,
    white
  );
}

/* 右矢印 */
.main-nav-list li a::after {
  font-family: "Font Awesome 5 Free";
  content: '\f054';
  font-size: 15px;
  font-weight: 900;
  float: right;
  color: var(--site-primary, #37B1BE);
}

/* 職種リンク */
.main-nav-list li a,
.main-nav-list li a:visited {
  color: var(--site-primary, #37B1BE);
  font-weight: bold;
  display: block;
  text-decoration: none;
}

.main-nav-list li a:hover {
  color: var(--site-primary-hover, #278E98);
}

.main-nav-list li:hover {
  transition: .3s ease;
  box-shadow: 0 0 4px #CFCFCF;
  padding-left: 15px;
  border-radius: 5px;
}

/* =========================================
   タブ切り替え
========================================= */
.tab_container {
  padding-bottom: 1em;
  background-color: #fff;
  margin: 0 auto;
}

.tab_item {
  width: calc(100% / 2);
  padding: 15px 0;
  border-bottom: 3px solid var(--site-primary, #37B1BE);
  background-color: #fff;
  text-align: center;
  color: var(--site-primary-hover, #278E98);
  display: block;
  float: left;
  font-weight: bold;
  transition: all 0.2s ease;
}

.tab_item:hover {
  opacity: 0.75;
  cursor: pointer;
}

input[name="tab_item"] {
  display: none;
}

.tab_content {
  display: none;
  padding: 1em 1em 0;
  clear: both;
  overflow: hidden;
}

#tab1:checked ~ #tab1_content,
#tab2:checked ~ #tab2_content {
  display: block;
}

/* 選択中のタブ */
.tab_container input:checked + .tab_item {
  background-color: var(--site-primary, #37B1BE);
  color: #fff;
}

/* =========================================
   スマートフォン
========================================= */
@media screen and (max-width: 560px) {

  .top-ichiran {
    width: 100%;
  }

  .top-ichiran .child,
  .side-box {
    width: 100%;
    float: none;
    display: block;
  }

  .main-nav-list {
    padding: 10px;
  }

  .main-nav-list h2 {
    font-size: 14px;
    margin-top: -40px;
  }

  .main-nav-list h2:first-of-type {
    margin-top: 0;
  }

  .main-nav-list .title {
    font-size: 18px;
  }

  .main-nav-list h2 a {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  .main-nav-list h2 a:hover {
    transition: .3s ease;
    padding-left: 0;
  }

  /* 1段目：アイコン + h2 */
  .main-nav-list h2 .top-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
  }

  .main-nav-list h2 img {
    width: 30px;
    height: auto;
  }

  /* 2段目：説明 + 矢印 */
  .main-nav-list h2 .bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 5px;
    border-bottom: 1px solid color-mix(
      in srgb,
      var(--site-primary, #37B1BE) 15%,
      white
    );
    padding-bottom: 10px;
  }

  .main-nav-list h2 span {
    font-size: 12px;
    color: #777;
    flex: 1;
    margin-right: 15px;
  }

  .main-nav-list h2 i {
    font-size: 20px;
    color: #777;
  }

  .main-nav-list ul {
    display: block;
    width: 100%;
  }

  .main-nav-list li {
    padding: 10px 5px;
    width: 100%;
  }

  .main-nav-list li:nth-child(-n+4) {
    border-top: none;
  }

  /* スマホ専用アコーディオン */
  .main-nav-list ul {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition:
      max-height 0.4s ease-out,
      opacity 0.3s ease-out,
      padding 0.3s ease-out;
    padding: 10px;
    margin: -10px 0 20px 0;
    display: block;
  }

  /* アコーディオン展開時 */
  .main-nav-list ul.active {
    max-height: 500px;
    opacity: 1;
    padding: 10px;
    display: block;
    height: auto;
  }

  /* 見出し展開時 */
  .main-nav-list h2.open {
    background-color: var(--site-primary-soft, #EAF7F8);
  }

  .main-nav-list h2.open i {
    transform: rotate(90deg);
    transition: transform 0.3s ease;
  }

  /* タブ */
  .tab_item {
    padding: 10px 0;
    text-align: center;
    font-size: 12px;
  }

  .tab_item i {
    display: block;
  }

  .tab_content {
    padding: 10px;
  }

  .new-ttl25 {
    margin: 0;
  }
}
