@charset "UTF-8";
/* オリジナルスタイルの定義
***************************************************************/

/* カスタム変数 */
:root {
  --swl-fz--root: clamp(14px, 9.0769px + 0.4808vw, 16px) !important; /* ルートフォントをリキッドに */
  --font-family-ja: 'Noto Sans JP', sans-serif; /* 日本語 */
  --font-family-en: 'Archivo', sans-serif; /* 英語※SWELLの設定で読み込むこと */
  --wp--preset--color--black: #111111; /* テキスト・SWELLのGPUに合わせる */
  --color_text: #333333; /* SWELLの基本設定のGPUに合わせる */
  --color_main: #ee7027; /* SWELLの基本設定のGPUに合わせる */
  --color_deep01: #db4205;
  --color_deep02: #0f318d; /* アクセントカラー・SWELLのエディター設定のGPUに合わせる */
  --color_pale02: #f4f6f8; /* 淡い青 ・SWELLのエディター設定のGPUに合わせる*/
  --gradient-orange: linear-gradient(220deg, #e89848 0%, #ee7027 46%, #db4205 80%);
  --gradient-blue: linear-gradient(39deg, #0f318d 41%, #3fa2ff 100%);
  --swl-letter_spacing: 0.03em;
}

body {
  font-family: var(--font-family-ja);
  font-weight: 500;
  text-align: justify;
  font-size: 1rem;
  letter-spacing: var(--swl-letter_spacing);
}

p {
  text-align: justify;
  letter-spacing: var(--swl-letter_spacing);
  font-family: var(--font-family-ja);
  font-weight: 500;
  line-height: 1.8;
  font-size: calc(16 / 14 * 1rem);

  @media (min-width: 768px) {
    font-size: calc(18 / 16 * 1rem);
  }
}

li {
  font-family: var(--font-family-ja);
  font-weight: 500;
  line-height: 1.8;
  font-size: 1rem;
  letter-spacing: var(--swl-letter_spacing);
  font-size: calc(16 / 14 * 1rem);

  @media (min-width: 768px) {
    font-size: calc(18 / 16 * 1rem);
  }
}

/* フルワイドブロックの余計なマージンを削除
***************************************************************/
.swell-block-fullWide + .swell-block-fullWide {
  margin-top: 0 !important;
}

.post_content > .swell-block-fullWide {
  margin-bottom: 0 !important;
}

/* SWELLのデフォルトの「l-content」の余計な下マージンを削除
***************************************************************/
.home .l-content {
  margin: 0 auto;
}

.l-content:has(.swell-block-fullWide) {
  padding: 0;
}

.l-content {
  margin: 0 auto;
}

/* SWELLのデフォルトのパンくずの背景色を消す
***************************************************************/
.-body-solid .p-breadcrumb.-bg-on {
  box-shadow: none;
}
.p-breadcrumb.-bg-on {
  background: transparent !important;
}

/* SWELLのデフォルトのスクロールヒントが隠れてしまうのを調整
***************************************************************/
.c-scrollHint {
  margin-right: 0.5rem;
}

/* デバイス制限
***************************************************************/
@media (min-width: 768px) {
  .u-sp {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .u-pc {
    display: none !important;
  }
}

/* グラデーション文字
***************************************************************/
.u-text-grad-orange {
  font-family: var(--font-family-en);
  background: linear-gradient(90deg, #d84c16, #ff9a35);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

/* 円のあしらい付きテキスト（c-circle-text を付与）
***************************************************************/
.c-circle-text {
  position: relative;
  padding-left: 0.9rem;

  &::before {
    content: '';
    position: absolute;
    left: 0;
    top: calc((1lh - 0.2em) / 2); /* 1行目の真ん中にそろえる */
    width: 0.7rem;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #ff8306;
    border: 0.15rem solid var(--color_main);
    box-sizing: border-box;
  }
}

/* パンくずリスト
***************************************************************/
.p-breadcrumb__item {
  font-size: 0.875rem;
}

/* スクロール監視アニメーション(js-in-view、js-stagger-groupとともに使用）
***************************************************************/
/*下からふわっふわっと（Stagger）アニメーション */
.stagger-item {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;

  .js-stagger-group.is-in-view & {
    opacity: 1;
    transform: translateY(0);
  }
}

/*下からふわっとアニメーション */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 1s,
    transform 1s;

  &.is-in-view {
    opacity: 1;
    transform: translateY(0);
  }
}

/*右からふわっとアニメーション */
.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition:
    opacity 1s,
    transform 1s;

  &.is-in-view {
    opacity: 1;
    transform: translateX(0);
  }
}
/*左からふわっとアニメーション */
.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition:
    opacity 1s,
    transform 1s;

  &.is-in-view {
    opacity: 1;
    transform: translateX(0);
  }
}

/* テキストリビール（js-text-reveal / js-reveal-after を付与）
※行の分割と発火は script.js で行う
***************************************************************/
/* JSの準備ができるまで隠す（JSが動かなくても4秒後には表示） */
.js-text-reveal {
  animation: reveal-fallback 0s 4s both;

  &.is-ready {
    animation: none;
  }
}

/* 動きの時間（ここで調整） */
.js-text-reveal {
  --reveal-start: 0.4s; /* 開始までの間（読み込み直後の負荷を避ける） */
  --reveal-duration: 0.9s; /* 1行あたりの時間（帯が伸びて→縮むまで） */
  --reveal-stagger: 0.2s; /* 行ごとのずれ */
}

/* 1行ぶんの枠（帯の幅＝文字の幅） */
.c-reveal-line {
  display: block;
  position: relative;
  width: fit-content;
}

/* 文字：帯が覆いきった瞬間に表示 */
.c-reveal-line__inner {
  display: block;
  opacity: 0;

  .is-ready & {
    animation: reveal-text var(--reveal-duration) linear calc(var(--reveal-start) + var(--reveal-stagger) * var(--i)) both;
  }
}

/* オレンジの帯：左から伸びて、右へ抜ける */
.c-reveal-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-orange);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

.is-ready .c-reveal-line::after {
  will-change: transform; /* GPUで動かしてなめらかに */
  animation: reveal-wipe var(--reveal-duration) cubic-bezier(0.77, 0, 0.18, 1) calc(var(--reveal-start) + var(--reveal-stagger) * var(--i)) both;
}

/* 帯が抜けきったあと、その場でふわっと表示 */
.js-reveal-after {
  opacity: 0;
  transition: opacity 0.5s ease;
  animation: reveal-fallback-after 0s 3s forwards; /* JSが動かなくても3秒後には表示 */

  &.is-show {
    opacity: 1;
  }
}

@keyframes reveal-wipe {
  0% {
    transform: scaleX(0);
    transform-origin: left;
  }
  50% {
    transform: scaleX(1);
    transform-origin: left;
  }
  50.1% {
    transform: scaleX(1);
    transform-origin: right;
  }
  100% {
    transform: scaleX(0);
    transform-origin: right;
  }
}

@keyframes reveal-text {
  0%,
  49.9% {
    opacity: 0;
  }
  50%,
  100% {
    opacity: 1;
  }
}

@keyframes reveal-fallback {
  from {
    visibility: hidden;
  }
  to {
    visibility: visible;
  }
}

@keyframes reveal-fallback-after {
  to {
    opacity: 1;
  }
}

/* 動きを減らす設定の場合は最初から表示 */
@media (prefers-reduced-motion: reduce) {
  .js-text-reveal,
  .c-reveal-line__inner,
  .js-reveal-after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .c-reveal-line::after {
    display: none;
  }
}

/* ローディングアニメーション
***************************************************************/
.loading {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100vw;
  height: 100%;
  background-color: #fff;
  display: flex !important;
  align-items: center;
  justify-content: center;
  animation: fadeOut 1.5s 2s forwards;
}

.loading img {
  opacity: 0;
  animation: logo_fade 2s 0.2s forwards;
  width: 200px; /* ロゴのサイズを指定（スマホ） */
}

@media (min-width: 960px) {
  .loading img {
    width: 300px; /* ロゴのサイズを指定（PC） */
  }
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes logo_fade {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  60% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
  }
}

/* ボタンレイアウト（共通）
※SWELLボタンをカスタムする場合（c-original-buttonを付与）
***************************************************************/
.c-original-button .swell-block-button__link {
  white-space: nowrap;
  min-width: calc(250 / 14 * 1rem);
  max-width: 100%;
  padding: 1.2em 1.5em;
}

.c-original-button .swell-block-button__link a span {
  font-size: 1rem;
  min-width: calc(280 / 16 * 1rem);
}

/* ホバーでアイコンが右にズレる */
.c-original-button .swell-block-button__link svg {
  transition: transform 0.3s ease;
}

.c-original-button .swell-block-button__link:hover {
  svg {
    transform: translateX(0.5rem);
  }
}

/* 白の枠線ボタン（c-original-button--white を付与）
※SWELLボタンのスタイルは「枠線」を選ぶこと */
.c-original-button--white.is-style-btn_line {
  --the-btn-color: #fff; /* 枠線・文字・アイコンを白に */

  & a:hover {
    background-color: transparent; /* SWELLの反転を打ち消す */
    border-color: #fff;
  }
}

/* ヘッダーCTAボタンのみのスタイル */
.l-header__button .swell-block-button__link {
  width: 100%;
  white-space: nowrap;
  max-width: calc(250 / 14 * 1rem);
  font-size: calc(16 / 14 * 1rem);
  padding: 1em 2em;

  @media (min-width: 960px) {
    width: calc(210 / 16 * 1rem);
    font-size: 1rem;
  }
}

/* オリジナルH2見出し（共通用）
※オリジナルのクラスを付与「c-section-head」を付与
***************************************************************/
.post_content h2.is-style-section_ttl.c-section-head {
  font-size: min(calc(60 / 390 * 100vw), 80px);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0;

  @media (min-width: 960px) {
    font-size: min(calc(128 / 1440 * 100vw), 128px);
  }

  /* 色クラス（c-section-head--orange / --blue / --white）が付いているときだけ、スクロールでキラッと光らせる */
  &[class*='c-section-head--'] {
    width: fit-content; /* 文字幅にグラデを合わせる */
    background-image:
      linear-gradient(110deg, transparent 45%, rgb(255 255 255 / 0.5) 49%, rgb(255 255 255 / 0.5) 51%, transparent 55%),
      /* 光の帯 */ var(--head-fill); /* 文字色 */
    background-size:
      250% 100%,
      100% 100%;
    background-repeat: no-repeat;
    background-position:
      100% 0,
      0 0; /* 光は左の外で待機 */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  &[class*='c-section-head--'].is-in-view {
    animation: section-head-shine 0.6s ease-in-out 0.3s forwards;
  }

  &.c-section-head--orange {
    --head-fill: var(--gradient-orange);
  }
  &.c-section-head--blue {
    --head-fill: var(--gradient-blue);
  }
  &.c-section-head--white {
    --head-fill: linear-gradient(rgb(255 255 255 / 0.6), rgb(255 255 255 / 0.6)); /* 光る前の薄い白 */
    background-image:
      linear-gradient(110deg, #fff 50%, rgb(255 255 255 / 0) 55%),
      /* 光が通ったあとを真っ白に */ var(--head-fill);
  }

  @media (prefers-reduced-motion: reduce) {
    animation: none !important;
  }
}

@keyframes section-head-shine {
  to {
    background-position:
      0% 0,
      0 0;
  } /* 光が右の外へ抜ける */
}

/* オリジナルH3見出し（共通用）
***************************************************************/
.post_content h3.is-style-section_ttl.c-section-head__lead {
  font-size: calc(24 / 14 * 1rem);
  line-height: 1.6;

  @media (min-width: 960px) {
    font-size: calc(48 / 16 * 1rem);
    line-height: 1.4;
  }
}

.post_content h3.is-style-section_ttl.c-section-head__lead.c-section-head__lead--small {
  font-size: calc(22 / 14 * 1rem);

  @media (min-width: 960px) {
    font-size: calc(40 / 16 * 1rem);
  }
}

/* グラデーション番号付きカードリスト（エネルの強み／採用のメリット）
***************************************************************/
.c-cards {
  --swl-clmn-mrgn--x: calc(40 / 16 * 1rem); /* カラム横の間隔 */
  --swl-clmn-mrgn--y: calc(60 / 14 * 1rem); /* SPで縦に並んだ時の間隔（数字のはみ出し分も込み） */
  --swl-clmn-pddng: calc(48 / 16 * 1rem) calc(24 / 16 * 1rem) calc(32 / 16 * 1rem) calc(24 / 16 * 1rem); /* カード内の余白 */
  padding-top: 56px; /* 数字がカードの上にはみ出す分 */
}

.c-cards__item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 4px 4px 2px rgb(0 51 164 / 0.1);

  & > * {
    margin: 0 !important; /* SWELLのブロック下余白を消して、gapで管理 */
  }
}

/* 01〜03 */
.c-cards__item-num {
  position: absolute;
  top: -0.5em;
  left: 14px;
  font-size: calc(64 / 14 * 1rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
  font-family: var(--font-family-en);
  background: linear-gradient(90deg, #d84c16, #ff9a35);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  @media (min-width: 960px) {
    font-size: calc(80 / 16 * 1rem);
  }
}

.post_content h3.is-style-section_ttl.c-cards__item-title {
  font-size: calc(24 / 14 * 1rem);
  line-height: 1.6;

  @media (min-width: 960px) {
    font-size: calc(28 / 16 * 1rem);
  }
}

/* ヘッダー
***************************************************************/
/* 上部のボーダー */
.l-header {
  border-style: solid;
  border-width: calc(10 / 16 * 1rem) 0 0; /* 上だけ10px */
  border-image: linear-gradient(90deg, var(--color_main) 30%, var(--color_deep02) 30%) 1;
}

/* ヘッダーナビ
***************************************************************/
/*リロード時のヘッダーメニューの文字に影を付ける*/
.l-header.-t-fff {
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.25);
}

/* 文字の太さ・サイズ */
.c-gnav > .menu-item > a .ttl {
  font-weight: 500;
  font-size: calc(16 / 14 * 1rem);
	
	@media(min-width:960px) {
		font-size: 1rem ;
	}
}

/* ヘッダーナビカスタム（ヘッダーはinner幅に合わせず拡大させる） */
.l-header__inner.l-container,
.l-fixHeader__inner.l-container {
  max-width: 100%;
}

/* ドロワー
***************************************************************/
/* ドロワーメニューの文字の太さ・サイズ・boforeアイコン  */
.c-spnav.c-listMenu a {
  color: var(--color_text);
  font-weight: 600;
  padding: 1em 1em 1em 1.5em;

  &::before {
    color: var(--color_main);
  }
}

/* ドロワーメニューの「MENU」タイトルを非表示にしたい場合 */
.c-widget__title.-spmenu {
  display: none;
}

/* ドロワーメニューのボディの上部paddingを調整（上部余白が「0」のため） */
.p-spMenu__body {
  padding-top: 4rem;
}

/* 下層ページ（固定ページ）ヒーローエリア
***************************************************************/
.l-topTitleArea {
  min-height: min(calc(210 / 390 * 100vw), 350px);
  position: relative;
  isolation: isolate;

  &::before {
    content: '';
    position: absolute;
    background: linear-gradient(0deg, rgba(18, 58, 99, 0.5) 0%, rgba(18, 58, 99, 0.5) 100%);
    inset: 0;
    z-index: 1;
  }
}

.c-pageTitle {
  font-size: calc(32 / 14 * 1rem);
  text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.25);

  @media (min-width: 768px) {
    font-size: calc(54 / 16 * 1rem);
  }
}

/* メインビュー（TOPページ）
***************************************************************/
.p-mv {
  position: relative;
}

.p-mv__movie {
  margin: 0;

  & video {
    display: block; /* 下にできる謎のすき間対策 */
    width: 100%;
    height: auto;
    max-height: 100vh; /* svh未対応ブラウザ用 */
    max-height: 100svh; /* タブレットで縦に長くなりすぎるのを防ぐ */
    object-fit: cover;
    object-position: center;

    @media (min-width: 960px) {
      height: 100vh;
      height: 100svh; /* PCは画面の高さいっぱい */
      max-height: none;
    }
  }
}

.p-mv__container {
  padding-inline: 1.5rem;
  position: absolute;
  left: 0;
  inset-block-end: 5rem;
  color: #fff;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  gap: 1rem;

  @media (min-width: 960px) {
    max-width: calc(1200 / 1440 * 100vw);
    padding-inline: calc(60 / 960 * 100vw);
    inset-block-end: 2rem;
  }
}

.post_content .is-style-section_ttl.p-mv__title {
  font-size: min(calc(40 / 390 * 100vw), 60px);
  font-weight: 700;

  @media (min-width: 960px) {
    font-size: min(calc(60 / 960 * 100vw), 86px);
  }
}

.p-mv__lead {
  font-size: min(calc(18 / 390 * 100vw), 24px);
  font-weight: 700;

  @media (min-width: 960px) {
    font-size: min(calc(28 / 1440 * 100vw), 38px);
  }
}

/* TOPページ　ABOUT US
***************************************************************/
.p-top-about {
  color: #fff;
  background:
    url(../img/deco_about.png) no-repeat right -20% top 2rem / 80% auto,
    var(--gradient-orange);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7vw), 0 100%); /* 右上がりの斜め */
  padding-bottom: calc(5rem + 7vw); /* 斜めで切れる分、下の余白を足す */

  @media (min-width: 960px) {
    background-position:
      right 2% top 4rem,
      0 0;
    background-size:
      min(46%, 600px) auto,
      auto;
  }
}

/* TOPページ BUSINESS
***************************************************************/
.p-top-business__visual {
  position: relative;
  aspect-ratio: 1200 / 798; /* 画像2枚が収まる枠 */
  isolation: isolate; /* 飾りのz-indexをこの中に閉じ込める */

  /* 飾り共通 */
  &::before,
  &::after {
    content: '';
    position: absolute;
    right: calc(50% - 50vw); /* 画面の右端まで伸ばす */
    z-index: -1;
  }

  /* オレンジ（奥） */
  &::before {
    left: calc(162 / 1200 * 100%);
    top: calc(13 / 798 * 100%);
    bottom: calc(104 / 798 * 100%);
    background: var(--gradient-orange);
    clip-path: polygon(0 13%, 100% 0, 100% 87%, 0 100%);
  }

  /* ブルー（オレンジより手前） */
  &::after {
    left: calc(299 / 1200 * 100%);
    top: calc(-84 / 798 * 100%);
    bottom: calc(205 / 798 * 100%);
    background: var(--gradient-blue);
    clip-path: polygon(0 12%, 100% 0, 100% 88%, 0 100%);
  }

  /* 画像共通 */
  & figure {
    position: absolute;
    margin: 0;
  }
  & img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.p-top-business__img-main {
  top: 0;
  left: calc(400 / 1200 * 100%);
  width: calc(806 / 1200 * 100%);
  aspect-ratio: 806 / 536;
}

.p-top-business__img-sub {
  bottom: 0;
  left: 0;
  width: calc(620 / 1200 * 100%);
  aspect-ratio: 620 / 410;
}

/* TOPページ Recruit
***************************************************************/
.p-top-recruit {
  position: relative;
  isolation: isolate;
  z-index: 0;
}

.p-top-recruit {
  &::before {
    background: linear-gradient(90deg, #00288c 0%, rgba(0, 51, 164, 0.6) 40%, rgba(36.55, 117.76, 201, 0.2) 100%);
  }
}
/*背景の位置調整（本画像が来たら調整する）*/
.swell-block-fullWide.has-bg-img.p-top-recruit {
  background-position: 68% 50%;

  @media (min-width: 960px) {
    background-position: 50% 50%;
  }
}

/* TOPページ NEWS
***************************************************************/
.p-top-news__list {
  width: 100%;
}

.p-top-news__list .-type-simple .p-postList__link {
  padding: 1.5em 0.25em;
}

.p-top-news__list .icon-posted:before,
.p-top-news__list .icon-folder:before {
  content: '';
}

.p-top-news__list .p-postList__body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;

  @media (min-width: 960px) {
    flex-direction: row;
    gap: 4rem;
  }
}

.p-top-news__list .-type-simple .p-postList__title {
  letter-spacing: 0.03em;
  line-height: 1.8;
}

.p-top-news__list .p-postList__meta {
  font-size: calc(12 / 14 * 1rem);
  flex-shrink: 0;

  @media (min-width: 768px) {
    font-size: calc(14 / 16 * 1rem);
  }
}

/*日付のカスタム*/
.p-top-news__list .p-postList__times {
  min-width: 7.5rem;

  @media (min-width: 768px) {
    min-width: 8rem;
  }

  @media (min-width: 960px) {
    min-width: 8.5rem;
  }
}

.p-top-news__list .p-postList__cat {
  background-color: var(--color_deep01);
  color: #fff;
  padding: 4px 1em;
}

/* 下層ページ（エネルについて）・メッセージ
***************************************************************/
.p-about__message-img {
  width: 80%;
  max-width: 400px;
  margin-inline: auto;
  position: relative;
  isolation: isolate;
  justify-self: center;
  &::before {
    content: '';
    position: absolute;
    inset: -1.5rem -1.5rem 1.5rem 1.5rem; /* 右に1rem、上に1remずらす */
    z-index: -1;
    background: var(--gradient-orange);
  }

  @media (min-width: 960px) {
    width: 100%;
    &::before {
      inset: -2rem -2rem 2rem 2rem;
    }
  }

  img {
    display: block; /* 画像下の隙間を防ぐ */
  }
}

.p-about__message-container .swell-block-columns__inner {
  flex-direction: column-reverse;
  align-items: center;

  @media (min-width: 960px) {
    flex-direction: row;
    align-items: flex-start;
  }
}

/* 下層ページ（エネルについて）・ロゴに込めた想い
***************************************************************/
.p-about__logo-inner {
  position: relative;
}

.p-about__logo-img {
  width: 80%;
  max-width: 400px;
  margin-inline: auto;
  @media (min-width: 768px) {
    position: absolute;
    width: calc(230 / 768 * 100vw);
    top: -4rem;
    /* right: calc(50% + 8rem); */
    left: 0;
  }

  @media (min-width: 1120px) {
    top: 0;
    left: 0;
    right: auto;
  }
}

.p-about__logo-text {
  margin-top: 2em;
  @media (min-width: 768px) {
    width: fit-content;
    max-width: calc(800 / 16 * 1rem);
    margin-inline-start: auto;
    margin-top: 3em;
  }
}

/* 下層ページ（エネルについて）・会社概要
***************************************************************/
.p-about__company-table tr {
  border-top: 1px solid #cccccc;
}

.p-about__company-table th,
.p-about__company-table td {
  padding: 1rem 1rem 1rem 2rem;
  /* padding: 1rem; */
  letter-spacing: 0.03em;
  font-size: calc(16 / 14 * 1rem);
  border: none;

  @media (min-width: 960px) {
    padding: 1.5rem 1rem 1.5rem 2rem;
    /* padding: 1.5rem 1rem; */
    font-size: calc(18 / 16 * 1rem);
  }
}

.p-about__company-table th {
  position: relative;
  font-weight: 600;

  &::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 1.6rem;
    width: 0.7rem;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #ff8306;
    border: 0.15rem solid var(--color_main);
    box-sizing: border-box;
  }
}

@media (min-width: 960px) {
  .p-about__company-table th {
    width: 15rem !important;
    &::before {
      top: 2.1rem;
    }
  }
}

.p-about__company-table td {
  background-color: #fff;
}

.p-about__company-clients {
  font-size: calc(12 / 14 * 1rem);
  @media (min-width: 768px) {
    font-size: 1rem;
  }
}

.p-about__company-clients .p-about__company-client {
  background: white;
  box-shadow: 4px 4px 4px rgba(0, 51, 164, 0.1);
  border-radius: 4px;
  padding: 1em;

  @media (min-width: 960px) {
    padding: 1.5rem;
  }
}

.p-about__company-clients p {
  font-size: calc(12 / 14 * 1rem);
  @media (min-width: 768px) {
    font-size: 1rem;
  }
}

/* 下層ページ（エネルについて）・アクセス
***************************************************************/
.p-about__access-map {
  iframe {
    display: block;
    max-width: calc(846 / 16 * 1rem);
    height: auto;
    aspect-ratio: 846 / 514;
    vertical-align: top;
    border: none;
  }
}

/* 下層ページ（事業内容）・事業紹介
***************************************************************/
.p-business__contents {
  gap: 3rem;
  @media (min-width: 768px) {
    gap: 4rem;
  }
  @media (min-width: 960px) {
    gap: 5rem;
  }
}

.p-business__list.wp-block-media-text {
  @media (min-width: 601px) {
    gap: 3rem;
  }
  @media (min-width: 960px) {
    gap: 4rem;
  }
}

.post_content h3.is-style-section_ttl.p-business__list-title {
  font-size: calc(22 / 14 * 1rem);
  border-style: solid;
  border-width: 0 0 calc(5 / 16 * 1rem); /* 下だけ5px */
  border-image: var(--gradient-blue) 1;
  padding-block: 0 0.2rem;
  @media (min-width: 960px) {
    font-size: calc(36 / 16 * 1rem);
  }
}

.p-business__list .wp-block-media-text__media {
  position: relative;
  isolation: isolate;
  justify-self: center;
  width: min(90%, calc(480 / 16 * 1rem)); /* 列幅の80%、ただし最大480px */

  &::before {
    content: '';
    position: absolute;
    inset: -1.5rem -1.5rem 1.5rem 1.5rem; /* 右に1rem、上に1remずらす */
    z-index: -1;
    background: var(--gradient-blue);
  }

  img {
    display: block; /* 画像下の隙間を防ぐ */
  }

  @media (min-width: 601px) {
    width: 100%;
  }

  @media (min-width: 960px) {
    &::before {
      inset: -2rem -2rem 2rem 2rem;
    }
  }
}

/* 下層ページ（事業内容）・エネルの強み
***************************************************************/

.p-business__strength-box.has-background.wp-block-group {
  padding: calc(56 / 16 * 1rem) 1rem;
  gap: 1.5rem;
  align-items: center;

  @media (min-width: 768px) {
    padding: calc(56 / 16 * 1rem) calc(40 / 16 * 1rem);
    gap: 2rem;
  }
}

.p-business__strength-box p {
  @media (min-width: 960px) {
    text-align: center;
  }
}

/* 採用ページ
***************************************************************/
.post_content h3.is-style-section_ttl.p-recruit__lead {
  font-size: calc(22 / 14 * 1rem);
  line-height: 1.6;
  margin-top: 1.5rem !important;

  @media (min-width: 960px) {
    font-size: calc(32 / 16 * 1rem);
  }
}

.p-recruit__container {
  margin-block-end: 3rem;

  @media (min-width: 768px) {
    margin-block-end: 4rem;
  }
}

.p-recruit__container .swell-block-columns__inner {
  align-items: center;
}

.p-recruit__achievements .p-recruit__achievement-item {
  background: white;
  box-shadow: 4px 4px 4px rgba(0, 51, 164, 0.1);
  border-radius: 4px;
  padding: 1em;

  @media (min-width: 960px) {
    padding: 1.5rem;
  }
}

.p-recruit__table tr {
  border-top: 1px solid #cccccc;
}

.p-recruit__table th,
.p-recruit__table td {
  padding: 1rem 1rem 1rem 2rem;
  /* padding: 1rem; */
  letter-spacing: 0.03em;
  font-size: calc(16 / 14 * 1rem);
  border: none;

  @media (min-width: 960px) {
    padding: 1.5rem 1rem 1.5rem 2rem;
    /* padding: 1.5rem 1rem; */
    font-size: calc(18 / 16 * 1rem);
  }
}

.p-recruit__table th {
  position: relative;
  font-weight: 600;

  &::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 1.6rem;
    width: 0.7rem;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #ff8306;
    border: 0.15rem solid var(--color_main);
    box-sizing: border-box;
  }
}

@media (min-width: 960px) {
  .p-recruit__table th {
    width: 15rem !important;
    &::before {
      top: 2.1rem;
    }
  }
}

.p-recruit__table td {
  background-color: #fff;
}

/* お問い合わせページ
***************************************************************/
.p-contact {
}

/* (タイトル)
***************************************************************/
.p-news-archive .p-postList__title {
  font-size: 1.2rem;
}

/* 共通CTA
***************************************************************/
.p-cta {
  background: linear-gradient(33deg, #222222 0%, #555555 100%);
  color: #fff;
}

/* 共通CTAのみのボタンスタイル */
.p-cta__button .swell-block-button__link {
  white-space: nowrap;
  width: fit-content;
  padding: 1.5rem 2rem;
}

.p-cta__cards .p-cta__card {
  padding: 2rem 1.5rem;
}

/* SWELLデフォルトのフッター（ウィジェット等）
***************************************************************/
/*フッター直前の余計なマージンをリセット*/
.w-beforeFooter {
  margin: 0 auto;
  overflow: hidden;
}
/*余計なフッターボックスの余白をリセット*/
.w-footer__box {
  padding: 0;
}

/*余計なウィジェットの余白をリセット*/
.l-footer__widgetArea {
  padding: 0;
}

/*余計な余白をリセット（全幅にできるように）*/
.l-footer .w-footer {
  max-width: none;
  padding: 0;
}

.l-footer .c-widget {
  margin: 0;
}

/* フッター　オリジナルスタイル
***************************************************************/
.l-footer__logo {
  width: calc(300 / 14 * 1rem);
  max-width: 100%;
  margin-inline: auto;

  @media (min-width: 960px) {
    margin-inline-start: 0;
    margin-inline-end: auto;
  }
}

.l-footer__menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  list-style: none;

  @media (min-width: 768px) {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 2.5rem;
  }
}

.post_content ul.l-footer__menu {
  padding-left: 0;
}

.l-footer__menu-item {
  font-size: 1rem;
}

.l-footer__menu-item a {
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
  line-height: 1;
}

@media (any-hover: hover) {
  .l-footer__menu-item a:hover {
    border-bottom: 1px solid var(--color_main);
  }
}

.l-footer {
  border-style: solid;
  border-width: 0 0 calc(10 / 16 * 1rem) 0;
  border-image: linear-gradient(90deg, var(--color_main) 30%, var(--color_deep02) 30%) 1;
}
