@charset "UTF-8";
/*
  Template: swell
  Theme Name: SWELL CHILD
  Theme URI: https://swell-theme.com/
  Description: SWELLの子テーマ
  Version: 1.2.0
  Author: LOOS WEB STUDIO
  Author URI: https://loos-web-studio.com/
  License: GNU General Public License
  License URI: http://www.gnu.org/licenses/gpl.html
*/

/* =======================================================
   0) Variables
======================================================= */
:root{
  --wrap: 1400px;     /* 共通コンテナ幅 */
  --gapX: 28px;       /* 基本横ギャップ */
  --gapY: 20px;       /* 基本縦ギャップ */
  --color_main: #2563eb; /* メインカラー（青） */
}

/* =======================================================
   1) Container width (common)
======================================================= */
.l-container,
.l-mainContent__inner,
#content{
  max-width: var(--wrap, 1400px);
  width: min(95vw, var(--wrap, 1400px));
  margin-left: auto;
  margin-right: auto;
}

/* =======================================================
   2) Portal Menu (Subpages)
   トップページのタイルデザイン(.action-card)を再現
   ======================================================= */
.portal-nav {
  width: 100%;
  margin: 0 auto 40px;
  padding: 20px 20px 0;
}

.portal-nav__inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 1000px;
  margin: 0 auto;
}

/* カード本体 */
.portal-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  
  width: 120px;
  min-height: 90px;
  padding: 12px 10px;
  
  background: #fff;
  border: 1px solid rgba(100, 116, 139, 0.2); /* 薄い青グレーの枠線 */
  border-radius: 18px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  
  text-decoration: none;
  color: #1e3a8a;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ホバー */
.portal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(43, 107, 227, 0.15);
  border-color: #2b6be3;
  color: #2b6be3;
}

/* アクティブ */
.portal-card.is-active {
  background: #eff6ff;
  border-color: #2b6be3;
  color: #2b6be3;
  pointer-events: none;
}

.portal-card__icon {
  font-size: 24px;
  margin-bottom: 6px;
  line-height: 1;
}

.portal-card__label {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

/* スマホ対応：横スクロール */
@media (max-width: 600px) {
  .portal-nav {
    padding: 10px 0;
    margin-bottom: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .portal-nav__inner {
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: 0 16px;
    width: max-content;
  }
  .portal-card {
    width: 100px;
    min-height: 80px;
    flex-shrink: 0;
  }
  .portal-card__icon { font-size: 20px; }
  .portal-card__label { font-size: 11px; }
}


/* =======================================================
   3) Header Cleanup (Global)
   ※古いヘッダー設定を削除し、SWELL標準ヘッダーを調整
======================================================= */

/* ヘッダーの影などを消してスッキリさせる */
header#header.l-header,
header#header .l-header__bar{
  border-bottom: none !important;
  box-shadow: none !important;
}
header#header.l-header::before,
header#header.l-header::after{ content: none !important; }

/* ロゴサイズ調整 */
.c-headLogo__img {
  max-height: 60px !important;
  width: auto;
}

/* 不要なナビゲーションを非表示（portal-menuを使うため） */
/* ※ .company-hub.css で消している記述の予備として */
.l-header__gnav,
.c-gnav {
  display: none !important;
}


/* =======================================================
   4) Company / Common UI
======================================================= */
/* Chip / Badge */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1; border: 1px solid transparent; }
.chip-blue { background: #e8f0ff; border-color: #e8f0ff; color: #1d4ed8; }

/* =======================================================
   5) Footer (Global)
======================================================= */
.l-footer{ background:#dfe6ef; border-top:1px solid rgba(0,0,0,.10); }
.l-footer .l-footer__foot{ padding: 26px 0 18px; }
.l-footer .kc-footer{ display: grid; grid-template-columns: minmax(320px, 520px) 1fr; gap: 72px; align-items: start; }
.l-footer .kc-footer__logo{ height: 80px; width: auto; max-width: 320px; display: block; opacity: .98; }
.l-footer .kc-footer__lead{ margin: 12px 0 12px; font-size: 16px; line-height: 1.9; opacity: .92; }

/* Footer CTA */
.l-footer .kc-footer__actions{ display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; margin: 0 0 10px; }
.l-footer .kc-footer__btn{ display: inline-flex; align-items: center; justify-content: center; padding: 11px 16px; border-radius: 12px; background: #111; color: #fff !important; text-decoration: none !important; font-weight: 700; line-height: 1; }
.l-footer .kc-footer__btn:hover{ opacity: .9; }
.l-footer .kc-footer__link{ font-size: 13px; text-decoration: none; }
.l-footer .kc-footer__note{ margin: 0; font-size: 12px; opacity: .75; }

/* Footer Nav */
.l-footer .kc-footer__nav{ justify-self: center; }
.l-footer .kc-footer__navList{ list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 10px 0; }
.l-footer .kc-footer__navList a{ position: relative; padding-left: 1.4em; text-decoration: none; font-size: 18px; }
.l-footer .kc-footer__navList a::before{ content: "▶"; position: absolute; left: 0; top: -0.1em; font-size: 1.0em; opacity: .7; }

/* Copyright */
.l-footer .kc-footer__bottom{ margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(0,0,0,.12); }

/* SP Footer */
@media (max-width: 768px){
  .l-footer .kc-footer{ grid-template-columns: 1fr; gap: 18px; }
  .l-footer .kc-footer__logo{ height: 44px; max-width: 280px; }
  .l-footer .kc-footer__navList{ grid-template-columns: 1fr; gap: 10px 0; }
}

/* =======================================================
   6) Search Form Layout (Helper)
======================================================= */
.hs-fields--free { display: flex; flex-direction: column; align-items: flex-end; gap: 20px; }
.hs-fields--free .hs-field--grow { width: 100%; }
