@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.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
*/


/* ============================================
   株式会社アックス カスタムCSS
   design-doc.md v2.2 準拠
   ============================================ */

/* --- ヒーロー英字フォント --- */
.hero-en {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}
.hero-sub {
  font-size: 18px;
  color: #fff;
}
@media (max-width: 599px) {
  .hero-en { font-size: 32px; }
  .hero-sub { font-size: 14px; }
}

/* --- ページヒーロー（下層ページ共通） --- */
.page-hero {
  position: relative;
  height: 400px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 0 8% 40px;
  margin-top: -100px;
  padding-top: 100px;
}
/* サブページ+アーカイブのヘッダーを透過にする */
.has-page-hero .l-header {
  background: transparent !important;
  background-color: transparent !important;
  position: absolute !important;
  width: 100% !important;
  z-index: 9999 !important;
  box-shadow: none !important;
  border-bottom: none !important;
  left: 0 !important;
  top: 0 !important;
}
/* SWELLの固定ヘッダーバーも初期状態で透過にする */
.has-page-hero .l-header__bar {
  box-shadow: none !important;
}
.has-page-hero .l-header *,
.has-page-hero .l-header__inner,
.has-page-hero .l-header__bar {
  background: transparent !important;
  background-color: transparent !important;
}
.has-page-hero .l-header .c-gnav a {
  color: #fff !important;
}
.has-page-hero .l-header .c-headLogo img {
  filter: brightness(10) !important;
}
/* お知らせカテゴリバッジ非表示 */
.has-page-hero .p-postCard__cat,
.has-page-hero .c-categoryBadge,
.has-page-hero .c-postThumb__cat {
  display: none !important;
}
/* サブページ+アーカイブのSWELLデフォルトパンくずを非表示 */
.has-page-hero .p-breadcrumb {
  display: none !important;
}
/* アーカイブページのサイドバー非表示 */
.has-page-hero .l-sidebar {
  display: none !important;
}
.has-page-hero .l-mainContent {
  max-width: 100% !important;
  flex: 1 !important;
}
/* サブページのl-containerパディング調整 */
.has-page-hero .l-content.l-container {
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: 100% !important;
}
/* アーカイブ: ヘッダー下の白帯を消してヒーローを上に引き上げる */
.has-page-hero.archive #breadcrumb,
.has-page-hero.blog #breadcrumb {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.has-page-hero.archive #content,
.has-page-hero.blog #content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
.has-page-hero.archive .l-mainContent__inner > .page-hero,
.has-page-hero.blog .l-mainContent__inner > .page-hero {
  margin-top: -200px;
  padding-top: 200px;
}
/* SWELLのbody_wrapのpadding-topもリセット */
.has-page-hero.archive #body_wrap,
.has-page-hero.blog #body_wrap {
  padding-top: 0 !important;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(139, 58, 74, 0.7);
}
.page-hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 100%;
  background: #fff;
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  z-index: 1;
}
.page-hero__en {
  position: relative;
  color: #fff;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.page-hero__title {
  position: relative;
  color: #fff;
  font-size: 36px;
  font-weight: 700;
}
@media (max-width: 599px) {
  .page-hero { height: 50vh; padding: 0 5% 24px; }
  .page-hero__title { font-size: 28px; }
  .page-hero::after { width: 80px; }
}

/* --- h2/h3 見出しスタイル（下層ページ、SWELLリセット） --- */
body:not(.home) .post_content h2 {
  border-left: 4px solid #8B3A4A !important;
  padding-left: 12px !important;
  border-bottom: none !important;
  border-top: none !important;
  background: none !important;
  padding-bottom: 0 !important;
  padding-top: 0 !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #333 !important;
  margin: 48px 0 24px !important;
}
body:not(.home) .post_content h2::before,
body:not(.home) .post_content h2::after {
  display: none !important;
}
/* 冒頭見出し（左ボーダーなし） */
body:not(.home) .post_content h2.no-border {
  border-left: none !important;
  padding-left: 0 !important;
  font-size: 26px !important;
  margin-top: 0 !important;
}
body:not(.home) .post_content h3 {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #333 !important;
  border-bottom: 1px solid #ddd !important;
  padding-bottom: 8px !important;
  margin: 32px 0 16px !important;
  background: none !important;
  border-left: none !important;
  padding-left: 0 !important;
}
body:not(.home) .post_content h3::before,
body:not(.home) .post_content h3::after {
  display: none !important;
}

/* --- 会社概要テーブル --- */
.company-table th {
  background: #8B3A4A;
  color: #fff;
  white-space: nowrap;
  font-weight: 500;
  padding: 12px 16px;
  border: 1px solid #7a3040;
  width: 140px;
  min-width: 140px;
}
.company-table td {
  padding: 12px 16px;
  border: 1px solid #E0E0E0;
}
.company-table tr:nth-child(even) td {
  background: #f9f9f9;
}
@media (max-width: 599px) {
  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
  }
  .company-table th {
    border-bottom: none;
  }
  .company-table td {
    border-top: none;
  }
}

/* --- 必須バッジ（フォーム用） --- */
.required-badge {
  display: inline-block;
  background: #8B3A4A;
  color: #fff;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 3px;
  margin-left: 8px;
  vertical-align: middle;
}

/* --- スクロール後の固定ヘッダー（全ページ共通） --- */
.l-fixHeader {
  background: #fff !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
}
.l-fixHeader .c-gnav a,
.l-fixHeader .c-headLogo__txt {
  color: #333 !important;
}
.l-fixHeader .c-headLogo img,
.l-fixHeader__inner .c-headLogo img,
.l-fixHeader .c-headLogo__img,
[data-scrolled="true"] .l-fixHeader img {
  filter: brightness(0) saturate(100%) invert(25%) sepia(30%) saturate(1200%) hue-rotate(315deg) brightness(85%) contrast(90%) !important;
}
.l-fixHeader * {
  background-color: transparent;
}
/* SPでもスクロール後にロゴ色を変更 */
[data-scrolled="true"] .l-header img {
  filter: brightness(0) saturate(100%) invert(25%) sepia(30%) saturate(1200%) hue-rotate(315deg) brightness(85%) contrast(90%) !important;
}

/* --- ヘッダーロゴサイズ調整 --- */
.l-header__logo img {
  height: 40px;
  width: auto;
}
/* --- SPハンバーガーを右に配置 --- */
@media (max-width: 959px) {
  .l-header__menuBtn {
    order: 3 !important;
  }
  .l-header__logo {
    order: 1 !important;
  }
}

/* --- ヘッダーメールアイコンボタン --- */
.axe-mail-btn {
  margin-left: 8px !important;
}
.axe-mail-btn a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: #A04058 !important;
  color: #fff !important;
}
.axe-mail-btn a:hover {
  background: #8B3A4A !important;
}
.axe-mail-icon {
  font-size: 24px;
  line-height: 1;
}

/* --- フルスクリーンSPメニュー（デザインカンプ準拠：ワイン色全画面） --- */
.p-spMenu__inner {
  background: #8B3A4A !important;
}
.p-spMenu__inner::before {
  background: #8B3A4A !important;
  opacity: 1 !important;
}
.p-spMenu__body {
  background: transparent !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.p-spMenu__head {
  background: transparent !important;
}
.p-spMenu__closeBtn .c-iconBtn {
  color: #fff !important;
}
/* メニューリスト中央揃え */
.p-spMenu__body .c-listMenu {
  background: transparent !important;
  text-align: center !important;
}
.p-spMenu__body .c-listMenu > li {
  border: none !important;
}
.p-spMenu__body .c-listMenu > li > a {
  color: #fff !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  padding: 20px 0 !important;
  text-align: center !important;
  border: none !important;
  background: transparent !important;
}
.p-spMenu__body .c-listMenu > li > a::before {
  display: none !important;
}
.p-spMenu__body .c-listMenu > li > a:hover {
  padding-left: 0 !important;
}
/* 事業内容のハイライト背景を消す */
.p-spMenu__body .c-listMenu > li.-current > a,
.p-spMenu__body .c-listMenu > li:hover > a {
  background: transparent !important;
}
/* サブメニュー: デフォルト非表示、タップで展開 */
.p-spMenu__body .sub-menu {
  background: transparent !important;
  display: none;
}
.p-spMenu__body .menu-item.is-open > .sub-menu {
  display: block;
}
.p-spMenu__body .sub-menu a {
  color: rgba(255,255,255,0.8) !important;
  font-size: 15px !important;
  padding: 12px 0 !important;
  text-align: center !important;
  border: none !important;
  background: transparent !important;
}
.p-spMenu__body .sub-menu a::before {
  display: none !important;
}
.p-spMenu__body .sub-menu a:hover {
  padding-left: 0 !important;
}
/* サブメニュートグルボタン（事業内容の展開用）表示 */
.p-spMenu__body .c-submenuToggleBtn {
  color: #fff !important;
  background: transparent !important;
  border: none !important;
}
/* 不要な要素を非表示 */
.p-spMenu__body .c-widget:not(.widget_nav_menu) {
  display: none !important;
}
.p-spMenu__body .c-widget__title {
  display: none !important;
}
.p-spMenu .axe-mail-btn,
.p-spMenu__body .axe-mail-btn {
  display: none !important;
}

/* --- フッターデザインカンプ準拠 --- */
.l-footer {
  padding: 48px 0 32px !important;
}
.l-footer__inner {
  padding: 0 !important;
}
.l-footer__foot {
  padding: 0 !important;
}
.l-footer__foot .l-container {
  display: grid !important;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 0 24px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5% !important;
}
/* ロゴ（左上） */
.l-footer__foot .l-container::before {
  content: '';
  display: block;
  width: 260px;
  height: 50px;
  background: url('/wp-content/uploads/2026/03/axce.svg') left center/contain no-repeat;
  filter: brightness(10);
  grid-column: 1;
  grid-row: 1;
}
/* ナビ（右上） */
.l-footer__nav {
  grid-column: 2;
  grid-row: 1;
  display: flex !important;
  justify-content: flex-end;
  gap: 32px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}
.l-footer__nav li {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}
.l-footer__nav li::before,
.l-footer__nav li::after {
  display: none !important;
}
.l-footer__nav li + li::before {
  display: none !important;
}
/* SWELLのパイプ区切りを消す */
.l-footer__nav .c-smallNavList__item {
  border: none !important;
}
.l-footer__nav .c-smallNavList__item::before {
  display: none !important;
}
.l-footer .c-smallNavList__item + .c-smallNavList__item::before {
  content: none !important;
  display: none !important;
}
.l-footer__nav a {
  border: none !important;
}
/* コピーライト（下段全幅中央） */
.l-footer .copyright {
  grid-column: 1 / -1;
  grid-row: 2;
  text-align: center;
  opacity: 0.6;
  font-size: 11px;
  margin-top: 24px;
  padding-top: 16px;
}
.l-footer .copyright {
  visibility: hidden;
  position: relative;
  height: 20px;
}
.l-footer .copyright::after {
  content: '©copyright 株式会社アックス';
  visibility: visible;
  font-size: 11px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  top: 0;
}
@media (max-width: 599px) {
  .l-footer__foot .l-container {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    text-align: center !important;
    gap: 16px !important;
  }
  .l-footer__foot .l-container::before {
    grid-column: 1 !important;
    grid-row: 1 !important;
    background-position: center !important;
    margin: 0 auto !important;
  }
  .l-footer__nav {
    grid-column: 1 !important;
    grid-row: 2 !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 8px 20px !important;
    font-size: 13px !important;
  }
  .l-footer .copyright {
    grid-column: 1 !important;
    grid-row: 3 !important;
  }
}
