@charset "utf-8";
/*
Theme Name: 株式会社 岩電
Theme URI: https://iwaden.jp/
Description: 株式会社 岩電は、山口県岩国市を拠点に地域の電力インフラを支え、確かな技術と丁寧な施工で安全・安心を提供し、暮らしと社会に貢献します。
Version: 202509
Author: owls-corp
Author URI: owls-corp.jp
*/
/* ***************************************************************** 
*	共通設定
* ********************************
********************************* */
/* ========== ベース（モバイルがデフォルト） ========== */ :root {
  --c-main: #2A445D;
  --c-light: #5DB6E7;
  --c-sub: #DFF0FA;
  --c-text: #333;
  --c-muted: #999;
  --c-bg-soft: #F5F5F5;
  --wrap-px: 20px; /* モバイル左右余白 */
  --wrap-px-lg: 30px; /* タブレット/PC余白 */
  --content-max: 1200px;
}
*, *::before, *::after {
  box-sizing: border-box;
}
.br-pc {
  display: inline;
}
.br-sp {
  display: none;
}
@media (max-width: 768px) {
  .br-pc {
    display: none;
  }
  .br-sp {
    display: inline;
  }
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-text);
  background: #fff;
  word-wrap: break-word;
  overflow-wrap: break-word;
  margin: 0;
}
img {
  max-width: 100%;
  height: auto;
  border: 0;
  vertical-align: middle;
}
a {
  color: var(--c-main);
  text-decoration: none;
  transition: color .3s ease;
}
a:hover {
  color: #666;
}
/* 既存の a:focus を無効化 */
a:focus {
  outline: none;
}
/* キーボード操作時のみフォーカス枠を出す */
a:focus-visible {
  outline: 2px solid rgba(69, 170, 184, .4);
  outline-offset: 3px;
  border-radius: 4px; /* 角丸が良ければ */
}
/* クリック時のハイライト（スマホ）を抑える */
a, button {
  -webkit-tap-highlight-color: transparent; /* iOS/Android */
}
/* ボタン風リンクのときは独自のフォーカス演出 */
a.btn:focus {
  outline: none;
}
a.btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(69, 170, 184, .35);
}
section {
  margin: 0 0 60px !important;
} /* モバイルは少しコンパクト */
.wrapper {
  width: 100%;
  max-width: var(--content-max);
  padding: 40px var(--wrap-px);
  margin: 0 auto;
}
/* 見出し・テキスト */
h1 {
  font-size: 22px;
}
h2 {
  font-size: 22px;
}
h3 {
  font-size: 20px;
}
p {
  margin: 12px 0;
}
/* ヘッダー */
#header {
  width: 100%;
  position: fixed;
  z-index: 999;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
/* スクロール後の状態 */
#header.scrolled {
  background-color: #fff; /* 背景を白に */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* 影をつけるのもおすすめ */
}
.header-inner {
  width: 100%;
  padding: 12px var(--wrap-px);
  margin: 0 auto;
  display: flex;
  align-items: center;
}
.logo {
  text-align: center;
  margin: 0;
  width: 100%;
  max-width: 300px;
  transition: max-width 0.3s ease; /* アニメーション付きで縮む */
}
/* スクロール後に縮小 */
#header.scrolled .logo {
  max-width: 200px;
}
/* ナビを横並びに再配置 */
#nav {
  position: static;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0 auto;
  text-align: right;
  z-index: 9999;
  background: transparent;
}
/* 親ULにflex */
.nav-menu {
  display: flex;
  align-items: stretch;
  justify-content: right;
  margin-bottom: 0;
}
.nav-menu > li {
  margin: 0;
  position: relative;
  border: none;
  list-style: none;
}
.nav-menu li a {
  position: relative;
  display: block;
  font-size: 18px;
  font-weight: bold;
  color: var(--c-main);
  padding: 10px 30px;
  white-space: nowrap;
  overflow: hidden;

  /* 背景アニメ（疑似要素なし） */
  background:
    linear-gradient(var(--c-main), var(--c-main)) left top / 100% 0% no-repeat;
  transition: background-size .25s ease, color .25s ease;
  -webkit-tap-highlight-color: transparent;
}

.nav-menu li a:hover,
.nav-menu li a:focus-visible,
.nav-menu li a:active {
  color: #fff;
  background-size: 100% 100%; /* 上から全体に広がる */
}

/* 仕切り線そのまま */
.nav-menu > li + li { border-left: 1px solid #ccc; }

/* お好みで “上から” 感を強めたい場合 */
.nav-menu li a {
  background-position: left top;
  /* デフォでtopから下へ。bottomにすると下から上へ */
}


/* （任意）iOSの青いタップハイライトを消したい場合 */
.nav-menu li a { -webkit-tap-highlight-color: transparent; }

/* ドロップダウン */
.nav-menu .sub-menu, .nav-menu .children {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 200px;
  background: #eee;
  z-index: 99999;
}
.nav-menu li:hover > .sub-menu {
  display: block;
}
.nav-menu .sub-menu a {
  display: block;
  padding: 10px 14px;
  text-align: left;
}
.nav-menu .sub-menu a:hover {
  background: #f5f5f5;
}
.toggle {
  display: none;
}
.menu-toggle {
  width: 40px;
  height: 40px;
}
.hamburger {
  display: none;
}
.hamburger {
  display: inline-block;
  padding: 10px 2px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.hamburger-box {
  width: 40px;
  height: 24px;
  position: relative;
  display: inline-block;
}
.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
  position: absolute;
  width: 35px;
  height: 3px;
  background: #000;
  border-radius: 4px;
  left: 0;
  transition: transform .3s ease, top .2s ease, bottom .2s ease, opacity .2s ease;
}
.hamburger-inner {
  top: 50%;
  transform: translateY(-50%);
}
.hamburger-inner::before {
  content: "";
  top: -10px;
}
.hamburger-inner::after {
  content: "";
  bottom: -10px;
}
.hamburger--spin.is-active .hamburger-inner {
  transform: translateY(-50%) rotate(225deg);
}
.hamburger--spin.is-active .hamburger-inner::before {
  top: 0;
  opacity: 0;
}
.hamburger--spin.is-active .hamburger-inner::after {
  bottom: 0;
  transform: rotate(-90deg);
}
/* パンくず */
.breadcrumb {
  margin: 10px 0 0;
  line-height: 1.2;
  font-size: 12px;
  color: var(--c-muted);
}
.breadcrumb a, .breadcrumb span {
  color: var(--c-main);
}
/* トップページ */
.top-header {
  position: relative;
  z-index: 0;
  background-image: url(images/common/l_triangle.png);
  background-repeat: no-repeat;
  background-position: left top;
  background-size: clamp(500px, 52.083vw, 1000px) auto;
  padding: 115px 100px;
  max-height: 850px;
  max-width: 1920px;
  margin: 0 auto;
}
.top-slider {
  width: 100%;
  max-width: 1700px;
  position: relative;
}
.r_triangle {
  position: absolute;
  right: 0;
  bottom: 0;
}
.r_triangle img {
  width: 100%;
  height: auto;
  display: block;
}
.h_iwaden {
  position: absolute;
  right: 0;
  bottom: 0;
  mix-blend-mode: multiply;
  z-index: 15;
}
.h_iwaden img {
  max-width: 800px;
  width: clamp(250px, 50vw, 800px);
  height: auto;
}
/* 1920px以上では固定で850px */
@media (min-width: 1920px) {
  .h_iwaden img {
    max-width: 850px;
  }
}
.h_txt {
  position: absolute;
  left: 100px;
  top: 100px;
  z-index: 10;
  width: 50%;
}
.h_title {
  position: relative;
  font-size: clamp(32px, 4.2vw, 80px); /* 最小32px、最大80px */
  color: var(--c-main);
  font-weight: 600;
  line-height: 1em;
  letter-spacing: 5px;
  display: inline-block;
}
.h_title::after {
  content: "";
  position: absolute;
  left: -100px;
  bottom: 0;
  width: 100%;
  height: 70%;
  background: linear-gradient(to right, #fff 0%, rgba(255, 255, 255, 0) 100%);
  z-index: -1;
}
.h_title span {
  font-size: clamp(24px, 4.2vw, 60px);
}
.h_title_catch {
  font-size: clamp(20px, 2.4vw, 38px);
  font-weight: 600;
  color: var(--c-main);
  display: block;
  line-height: 1em;
  margin-bottom: 10px;
}
.h_txt p {
  font-size: 20px;
}
.sub-header {
  width: 100%;
  position: relative;
  z-index: 0;
  padding: 115px 0 0;
  margin-bottom: 60px;
}
.sub_title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
  color: #FFF;
  z-index: 10;
  width: 100%;
}
.sub_title h2 {
  font-size: clamp(30px, 2.8vw, 42px);
}
.sub_title h3 {
  font-size: clamp(18px, 2.3vw, 20px);
}
.page-lead {
  text-align: center;
}
.page-lead h2 {
  font-size: clamp(16px, 2.1vw, 20px);
  color: var(--c-main);
}
.sub-slider {
  width: 100%;
  position: relative;
  z-index: 0;
}
.l_sub_triangle {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  max-width: 930px;
}
/* 画面幅が1700px以下になったら左にずらす */
@media (max-width: 1700px) {
  .l_sub_triangle {
    left: -100px; /* 適宜調整 */
  }
}
/* 画面幅が1600px以下になったら左にずらす */
@media (max-width: 1600px) {
  .l_sub_triangle {
    left: -120px; /* 適宜調整 */
  }
}
/* さらに小さい画面の場合 */
@media (max-width: 1400px) {
  .l_sub_triangle {
    left: -250px;
  }
}
.l_sub_triangle img {
  height: 100%; /* 親の高さに合わせる */
  width: auto; /* 横は自動伸縮 */
  display: block;
}
.r_sub_blue_line, .l_sub_blue_line {
  position: absolute;
  top: 0;
  z-index: 5;
}
.r_sub_blue_line {
  right: 0;
}
.l_sub_blue_line {
  left: 0;
}
.r_sub_blue_line img, .l_sub_blue_line img, .bg_blue_line_se img {
  /* 例: 24vwなら 1920px 時に 460.8px → 450pxに丸められて max に張り付く */
  width: clamp(150px, 24vw, 450px);
  height: auto;
}
.sub_en {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 10;
  mix-blend-mode: multiply; /* ← 乗算効果 */
}
.wrapper {
  padding: 0px;
  max-width: 1920px;
  margin: 0 auto;
}
a.btn {
  display: inline-flex;
  position: relative;
  background: #005bac;
  color: #fff;
  padding: 5px 24px;
  text-decoration: none;
  border-radius: 4px;
  overflow: hidden;
  transition: color 0.3s ease;
  z-index: 1;
  width: 100%;
  max-width: 300px;
  letter-spacing: 5px;
  text-align: center;
  font-size: 20px;
  justify-content: center;
  align-items: center;
}
a.btn::after {
  position: absolute;
  right: 2em;
  transform: translateY(-50%);
  transform-origin: left;
  width: 2em;
  height: .5em;
  background-color: #FFF;
  clip-path: polygon(0 100%, 100% 100%, 70% 40%, 70% 90%, 0% 90%);
  content: '';
  transition: transform .3s;
}
a.btn:hover::after {
  transform: translateY(-50%) scaleX(1.4);
}
a.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 0;
  background: #003f7d;
  transition: all 0.4s ease;
  z-index: -1;
}
a.btn:hover::before {
  top: 0;
  height: 100%;
}
.home_about {
  width: 100%;
  background-image: url(images/home/about_bg.png);
  background-repeat: no-repeat;
  background-position: right top;
  background-size: auto 100%;
  margin: 0;
  height: 680px;
  position: relative;
}
.about-inner {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
.about-text {
  max-width: 600px;
  padding: 40px;
  position: relative;
  z-index: 20;
}
.about-text h2 {
  font-size: 42px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--c-main);
}
.about-text p {
  line-height: 1.8;
  margin-bottom: 20px;
}
/* 背景に大きな「ABOUT」 */
.about-section::before {
  content: "ABOUT";
  position: absolute;
  left: -40px;
  top: 50%;
  transform: rotate(-90deg) translateY(-50%);
  font-size: 160px;
  font-weight: 900;
  color: rgba(0, 91, 172, 0.2); /* 薄い青 */
  z-index: 1;
  letter-spacing: 5px;
}
.bg_blue_line {
  position: absolute;
  left: 0;
  top: 35px;
  z-index: 5;
}
.bg_blue_line_se {
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
}
.bg_blue_line_r {
  position: absolute;
  right: 0;
  bottom: -30px;
  ;
  z-index: 5;
}
.bg_about, .bg_overview {
  position: absolute;
  left: 100px;
  top: 35px;
  z-index: 10;
}
.bg_service, .bg_forwork {
  position: absolute;
  right: 100px;
  top: 0px;
  z-index: 10;
}
.bg_voice {
  position: absolute;
  left: 100px;
  top: 50px;
  z-index: 10;
}
.bg_information {
  position: absolute;
  left: 100px;
  top: 50px;
  z-index: 10;
}
/* ========== セクション ========== */
.service-section {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
}
/* 画像ボックスの幅を連続的に可変（最小240px / 理想28vw / 最大550px） */
.service-section-img {
  position: absolute;
  left: 0;
  top: 0;
  width: clamp(240px, 28vw, 550px);
  /* 見た目の安定性 */
  contain: layout paint;
}
/* 画像自体のレンダリング最適化 */
.service-section-img img {
  display: block; /* 余白のズレ防止 */
  width: 100%;
  height: auto;
}
.service-cont {
  width: 100%;
  max-width: calc(1200px + clamp(240px, 28vw, 550px) + clamp(16px, 2vw, 40px));
  margin: 0 auto;
  position: relative;
  z-index: 20;
  /* 本文エリアにだけ余白を付ける */
  padding-left: calc(clamp(240px, 28vw, 550px) + clamp(16px, 2vw, 40px));
  box-sizing: border-box; /* これ大事 */
}
.service-inner {
  width: 100%;
  max-width: 900px;
  text-align: center;
}
/* 見出し */
.service-title, .company-title {
  font-size: clamp(22px, 3.2vw, 32px);
  font-weight: 700;
  color: var(--c-main);
  letter-spacing: 0.06em;
  line-height: 1.5;
  margin: 0;
}
/* センターの区切り線 */
.service-divider {
  width: 2px;
  height: 50px;
  background: var(--c-main);
  margin: 18px auto 22px;
}
/* リード・本文 */
.service-lead {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 600;
  color: var(--c-text);
  line-height: 1.9;
  margin: 0 0 12px;
}
.service-desc {
  color: var(--c-text);
  line-height: 1.9;
  margin: 0 0 36px;
  font-size: 16px;
}
/* ========== 3カード ========== */
.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 30px;
}
.service-card {
  text-align: left;
}
.service-img {
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .08);
  background: #e6eef6;
}
/* 画像はカバーで切り抜き */
.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}
/* 番号バッジ */
.service-img .badge {
  position: absolute;
  left: 5px;
  top: 5px;
  font-family: "Anton", sans-serif;
  font-size: clamp(14px, 4vw, 70px);
  font-weight: 700;
  color: #fff;
  line-height: 1em;
  letter-spacing: .04em;
}
/* 画像ホバー（軽くズーム） */
.service-card:hover .service-img img {
  transform: scale(1.05);
}
/* キャプション */
.service-caption {
  font-size: clamp(15px, 2.2vw, 20px);
  font-weight: 700;
  margin: 10px 4px 0;
  color: var(--c-main);
  letter-spacing: .02em;
  text-align: center;
}
/* フッターコンタクト */
.f_contact {
  width: 100%;
  padding: 50px 0;
  background: var(--c-light);
  color: #FFF;
  text-align: center;
}
.f_contact p {
  font-size: 18px;
}
.reception-tel {
  width: 100%;
  max-width: 500px;
  margin: 10px auto;
}
.reception-time {
  font-size: 24px;
}
/* 岩電について */
/* ベース */
.about_message {
  width: 100%;
  position: relative;
}
.about_m_img {
  position: relative;
  display: flex;
  z-index: 1;
}
.am_imgbox {
  width: 50%;
  position: relative;
  overflow: hidden; /* はみ出しを隠す */
}
.am_imgbox img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover; /* 縦横比を保ちつつ、はみ出して埋める */
  object-position: center; /* 画像の中央を基準に配置 */
}
.about_txt {
  position: absolute;
  background: rgba(51, 51, 51, 0.8);
  z-index: 2;
  padding: 50px 0;
  width: 100%;
  top: 50%;
  left: 0%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}
.about_txt_box {
  max-width: 800px;
  margin: 0 auto;
  color: #FFF;
  font-size: 18px;
}
.president_name {
  font-size: 20px;
  text-align: right;
  margin-top: 20px;
}
.president_name span {
  font-size: 16px;
  margin-right: 10px;
}
.company {
  width: 100%;
  position: relative;
}
.company-info {
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 3;
  text-align: center;
  padding-top: 35px;
  background: #FFF;
  max-width: 900px;
}
.company-info table {
  width: 100%;
}
.company-info table th, .company-info table td {
  padding: 60px 0;
  border-top: 1px solid #B3B3B3;
  font-size: 20px;
}
.company-info table tr:last-child th, .company-info table tr:last-child td {
  border-bottom: 1px solid #B3B3B3;
}
.company-info table th {
  text-align: center;
  color: var(--c-light);
}
.company-info table td {
  padding-left: 30px;
}
.overview_l, .overview_r {
  position: absolute;
  z-index: 1;
}
.overview_l {
  left: 0;
  bottom: 0;
}
.overview_r {
  right: 0;
  bottom: 0;
}
/* 事業内容 */
.service {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
}
.service-content {
  display: flex;
  margin-bottom: 100px;
  position: relative;
}
.service-content-img {
  width: calc(100% / 2);
}
.service-content-item {
  width: calc(100% / 2);
}
.service-content-num {
  width: 100%;
  border-bottom: 1px solid var(--c-main);
  font-family: "Anton", sans-serif;
  font-size: clamp(60px, 3.8vw, 80px);
  font-weight: 700;
  line-height: 1em;
  letter-spacing: 0.1em;
  color: #D6EDF9;
  margin-bottom: 20px;
  padding: 0 50px 20px;
}
.service-content-txt {
  width: 100%;
  max-width: 600px;
  padding: 0 50px;
}
.service-content-title {
  font-size: clamp(36px, 2.8vw, 48px);
  color: var(--c-light);
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1em;
}
.service-content-lead {
  font-size: clamp(20px, 2.4vw, 28px);
  color: var(--c-main);
  line-height: 1.5em;
  margin: 15px 0;
  font-weight: 600;
}
.service-content-desc {
  font-size: 18px;
  line-height: 2em;
}
/* 偶数番目は左右を入れ替える */
.service-content:nth-child(even) {
  flex-direction: row-reverse;
}
/* 偶数番目の番号は右寄せ */
.service-content:nth-child(even) .service-content-num {
  text-align: right;
}
/* 偶数番目のテキスト全体を右側に配置 */
.service-content:nth-child(even) .service-content-txt {
  margin-left: auto;
}
/* リクルート */
.work-section {
  position: relative;
  width: 100%;
  min-height: 500px;
  background-image: url(images/recruit/forwork.jpg);
  background-size: min(100%, 1560px) auto;
  background-position: left center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin: 0 auto !important;
  overflow: hidden; /* ← 念のためはみ出し防止 */
}
.work-section::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 250px; /* 白の幅 */
  height: 100%;
  background: #fff;
  z-index: 1; /* 必要に応じて調整（前面に出したいとき） */
}
.work-overlay {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: right;
  padding: 0 20px;
  max-width: 1200px;
}
.work-content {
  max-width: 700px;
  background: rgba(255, 255, 255, 0.8); /* 背景を白にしても良い場合 */
  padding: 100px 0;
  color: #333;
}
.work-content_txt {
  padding: 50px 80px;
}
.work-content h2 {
  font-size: 40px;
  background: var(--c-main);
  color: #FFF;
  width: 100%;
  padding: 10px 30px;
  border-radius: 30px 0 0 30px;
  line-height: 1em;
  text-align: center;
  margin-left: auto;
  margin-right: 0;
}
.work-content h3 {
  font-size: 28px;
  color: var(--c-main);
  margin: 0 0 30px;
  line-height: 1.5em;
}
.work-content p {
  font-size: 20px;
  margin-bottom: 30px;
  line-height: 2em;
}
.voice-section {
  background: var(--c-light);
  margin: 0 auto !important;
  padding: 50px 0;
  position: relative;
  max-width: 1920px;
}
.voice {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.voice_txt, .voice_txt_r {
  width: 100%;
  max-width: 650px;
  position: relative;
  z-index: 99;
}
.voice_txt_r {
  margin-right: 0;
  margin-left: auto;
}
.voice_title {
  text-align: center;
  margin-bottom: 50px;
}
.voice_title h2 {
  font-size: clamp(24px, 4vw, 46px);
  color: var(--c-main);
  letter-spacing: 0.1em;
}
.voice_title p {
  font-size: 20px;
}
.catch-slash {
    display: inline-flex;
    align-items: center;
    color: #fff;
    font-weight: 700;
    letter-spacing: .05em;
    font-size: clamp(20px, 4.2vw, 30px);
}
/* 左右の斜線 */
.catch-slash::before, .catch-slash::after {
  content: "";
  display: block;
  width: 35px;
  height: 2px;
  background: currentColor;
  transform-origin: center;
}
.catch-slash::before {
  transform: rotate(60deg);
} /* ＼ */
.catch-slash::after {
  transform: rotate(-60deg);
} /* ／ */
/* 画面が狭い時は少し短く */
@media (max-width: 480px) {
  .catch-slash::before, .catch-slash::after {
    width: 34px;
  }
}
.qa {
  padding: 36px 20px;
}
.qa-item {
  max-width: 980px;
  margin: 0 auto 50px;
  /* align-items: start; */
}
.qa-question {
  position: relative;
  display: block;
  background: #fff;
  color: var(--c-light);
  font-weight: 700;
  padding: 10px 0;
  padding-left: 85px;
  border-radius: 0px 30px 30px 0px;
  font-size: 24px;
  margin-bottom: 20px;
}
/* Qアイコンをbeforeで配置 */
.qa-question::before {
  content: "";
  position: absolute;
  left: 20px;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
  width: 55px;
  height: 70px;
  background: url(images/recruit/q.png) no-repeat bottom / contain;
}
.qa-answer {
  line-height: 1.9;
  font-size: 16px;
  position: relative;
  padding: 0 0 0 85px;
}
.qa-answer::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 40px;
  transform: translateY(-50%);
  width: 55px;
  height: 70px;
  background: url(images/recruit/a.png) no-repeat bottom / contain;
}
.voice_img_r, .voice_img_l {
  position: absolute;
}
/* 画像はラッパー幅にフィット */
.voice_img_r img, .voice_img_l img {
  display: block;
  width: 100%;
  height: auto;
}
/* 右上画像：1920pxで600px → そこから滑らかに縮小（最小240px） */
.voice_img_r {
  position: absolute;
  z-index: 10;
  /* 幅を連続可変に（31.25vw = 1920px時に600px） */
  width: clamp(240px, 31.25vw, 600px);
  max-width: none; /* 既存の max-width を打ち消し */
  /* オフセットも連続可変（50px/100pxをvw換算、下限は16px） */
  top: clamp(16px, 2.6vw, 50px); /* 50px ≒ 2.6vw at 1920px */
  right: clamp(16px, 5.2vw, 100px); /* 100px ≒ 5.2vw at 1920px */
}
/* 左下画像：1920pxで660px → そこから滑らかに縮小（最小260px） */
.voice_img_l {
  position: absolute;
  z-index: 10;
  /* 34.375vw = 1920px時に660px */
  width: clamp(450px, 34.375vw, 660px);
  max-width: none;
  bottom: clamp(16px, 5.2vw, 100px);
  left: clamp(16px, 5.2vw, 100px);
}
.information {
  width: 100%;
  position: relative;
}
.job-spec {
  position: relative;
  background: var(--c-sub);
  margin-left: auto;
  margin-right: 0;
  max-width: 1920px;
}
.job-spec::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  height: 100%;
  background: #fff;
}
/* 中身をセンター & 幅を固定 */
.job-spec__inner {
  width: min(100%, 900px);
  padding-inline: 24px;
  margin: auto;
  padding: 100px 0;
  position: relative;
  z-index: 20;
}
/* 見出しの左インデントは中身幅の中で完結 */
.job-spec__title {
  font-size: 38px;
  font-weight: 700;
  margin: 0 0 25px;
  padding: 0 0 10px; /* ← 左150pxはやめて中身内で整える */
  border-bottom: 3px solid #FFF;
  color: var(--c-main);
  width: 85%;
  text-align: center;
}
/* リスト全体もセンター内に */
.job-spec__list {
  max-width: 850px;
  margin: 0;
  display: grid;
  row-gap: 12px;
}
/* 2カラム */
.job-spec__row {
  display: grid;
  grid-template-columns: 12em 1fr;
  column-gap: 20px;
  align-items: center;
  margin-bottom: 20px;
}
/* 項目名の白ラベル（右側だけ角丸） */
.job-spec__term {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 15px 20px;
  background: #fff;
  color: var(--c-main);
  font-weight: 700;
  border-radius: 0 20px 20px 0; /* ← 右上・右下だけ角丸 */
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .03) inset; /* 薄い輪郭(任意) */
  font-size: 18px;
  line-height: 1em;
}
.job-spec__desc {
  color: var(--job-text);
  line-height: 1.9;
}
.information_img {
  position: absolute;
  right: 0;
  bottom: 0;
}
/* フッター */
#footer {
  width: 100%;
}
.footer-inner {
  max-width: 500px;
  margin: 0 auto;
  padding: 50px 0 20px;
  text-align: center;
}
.f_logo {
  width: 100%;
}
.footer-inner h2 {
  font-size: clamp(18px, 5vw, 42px);
  color: var(--c-main);
  margin: 20px 0;
  line-height: 1em;
}
.footer-inner p {
  font-size: clamp(14px, 2vw, 18px);
}
.sns {
  width: 100%;
  text-align: center;
  padding: 30px 0;
}
/* SNSアイコン共通 */
/* ボタン全体 */
.sns a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px; /* アイコンと文字の間隔 */
  padding: 12px 20px;
  background: #000;
  border-radius: 40px; /* 丸み強めで可愛い印象 */
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}
/* ホバー時 */
.sns a:hover {
  background: #FE2C55; /* TikTokレッド */
  transform: translateY(-3px); /* ちょっと浮く */
}
/* アイコン */
.sns a i {
  font-size: 20px;
  line-height: 1;
  color: #fff;
}
i.fa-tiktok {
  font-size: 30px;
  color: #000; /* 白にしたければ #fff */
}
#copyright {
  font-size: 16px;
  line-height: 1.2;
  color: #FFF;
  text-align: center;
  margin: 0;
  padding: 15px 0;
  background: var(--c-main);
  ;
}
/* 画像ホバー（軽量） */
.img-anime2 img {
  transition: transform .3s ease;
}
.img-anime2:hover img {
  transform: scale(1.03);
} /* モバイルは軽めに */
/* ========== 1600px 以下：軽い圧縮だけ ========== */
@media (max-width: 1600px) {
  .bg_about, .bg_overview, .bg_voice, .bg_information {
    left: 20px;
  }
  .bg_service, .bg_forwork {
    right: 20px;
  }
  .bg_blue_line_se {
    top: -80px;
  }
  .work-section::after, .job-spec::before {
    width: 180px;
  }
  .work-content {
    margin-right: 80px;
  }
  .voice_txt {
    margin-left: 100px;
  }
  .job-spec__list {
    max-width: 700px;
  }
}
/* ========== 1280px 以下：軽い圧縮だけ ========== */
@media (max-width: 1280px) {
  .top-header {
    padding: 90px 60px;
    background-size: 500px;
  }
  .h_txt {
    left: clamp(24px, 6vw, 80px);
    top: clamp(40px, 6vw, 80px);
    width: 58%;
  }
  .h_title::after {
    left: -35px;
  }
  .r_triangle {
    width: 550px;
  }
  .home_about {
    height: 470px;
  }
  .service-cont {
    /* 左画像ぶん + 余白は既に clamp。全体maxも連動済みでOK */
  }
  .service-inner {
    max-width: 880px;
  }
  .bg_blue_line {
    max-width: 400px;
  }
  .bg_about, .bg_overview, .bg_voice, .bg_information {
    left: 20px;
    opacity: 0.5;
    top: 0;
  }
  .bg_information {
    top: 50px;
  }
  .bg_service, .bg_forwork {
    right: 20px;
    opacity: 0.5;
    top: 0;
  }
  .company-info {
    max-width: 650px;
  }
  .company-info table th, .company-info table td {
    padding: 30px 0;
  }
  .l_sub_triangle {
    left: -350px;
  }
  .service {
    padding: 0 20px;
  }
  .work-content {
    margin-right: 160px;
  }
  .job-spec__list {
    max-width: 600px;
  }
  .information_img {
    max-width: 360px;
  }
  .job-spec__inner {
    width: min(100%, 750px);
  }
  .job-spec__desc {
    color: var(--c-text);
    line-height: 1.9;
  }
  .job-spec__row {
    grid-template-columns: 9em 1fr;
    column-gap: 10px;
  }
  .nav-menu li a {
    font-size: 16px;
    padding: 10px 20px;
  }
}
/* *****************************************************************
*   レスポンシブ（メディアクエリ）
* ***************************************************************** */
/* Tablet (Portrait) 画面の横幅が〜1280pxまで
---------------------------------------------------- */
@media only screen and (max-width: 1280px) {
  .wrapper {
    width: 100%;
    margin: auto;
    padding: 0px;
  }
  .header-inner {
    width: 100%;
    padding: 10px 20px;
  }
  #nav {
    float: none;
    width: 100%;
    margin: 0 auto;
    padding: 0;
  }
  .footer-inner {
    width: 100%;
  }
  .l_sub_triangle {
    left: -400px;
  }
  .qa {
    width: 90%;
  }
  .information_img {
    max-width: 280px;
    bottom: unset;
    top: 200px;
  }
  .voice_img_l {
    width: 300px;
  }
  .voice_img_r {
    width: 300px;
  }
  .voice_title {
    width: 90%;
  }
}
@media only screen and (max-width: 768px) {
  .top-header {
    padding: 60px 35px;
    background-size: 250px;
  }
  .r_triangle {
    width: 250px;
  }
  .home_about {
    background-position: right -400px top;
    height: 550px;
  }
  .service-section {
    padding: 0 20px;
  }
  .service-title, .company-title {
    font-size: 20px;
  }
  .service-divider {
    height: 25px;
    margin: 10px auto;
  }
  .service-lead {
    font-size: 18px;
  }
  .service-caption {
    font-size: 14px;
  }
  .footer-inner {
    max-width: 300px;
  }
  .nav-menu li a {
    padding: 10px 15px;
  }
  .l_sub_triangle {
    left: -600px;
  }
  .sub_en {
    max-width: 300px;
  }
  .about_message {
    height: 500px;
  }
  .about_txt {
    padding: 50px 50px;
  }
  .about_m_img {
    height: 500px;
  }
  .bg_blue_line {
    max-width: 300px;
  }
  .about_m_img {
    flex-direction: column;
  }
  .am_imgbox {
    width: 100%;
    aspect-ratio: 16 / 10; /* お好みで 16/9, 4/3 などに調整 */
    /* aspect-ratioが使えない場合は次のどちらかで代替
    min-height: 45vw;           高さを画面幅に応じて確保
    height: 320px;              固定高にする
    */
  }
  .company-info {
    max-width: 550px;
    margin-left: auto;
    margin-right: 40px;
  }
  .company-info table th, .company-info table td {
    padding: 25px 0;
    font-size: 16px;
  }
  .service-content, .service-content:nth-child(even) {
    flex-direction: column-reverse;
    margin-bottom: 50px;
  }
  .service-content-img, .service-content-item {
    width: calc(100% / 1);
    padding: 30px 0 0;
  }
  .service-content-txt {
    max-width: 100%;
  }
  .service-content:nth-child(even) .service-content-num {
    text-align: left;
  }
  .bg_forwork, .bg_voice, .bg_information {
    display: none;
  }
  .work-content {
    margin-right: 0;
    padding: 60px 0 20px;
  }
  .work-section::after, .job-spec::before {
    display: none;
  }
  .work-section {
    background-size: cover;
    background-position: left -200px center;
  }
  .voice_txt {
    margin-left: 0;
  }
  .voice_txt, .voice_txt_r {
    max-width: 100%;
  }
  .voice_title, .qa {
    width: 100%;
    padding: 0 20px;
  }
  .voice_img_r {
    width: 200px;
    right: 0;
    top: 30px;
  }
  .voice_img_l {
    width: 200px;
    bottom: unset;
    top: 30px;
    left: 0;
  }
  .voice_title p {
    font-size: 16px;
  }
  .qa-item {
    margin: 0 auto 25px;
  }
  .qa-question {
    padding: 5px 0 5px 70px;
    font-size: 18px;
  }
  .qa-answer {
    padding: 5px 0 5px 70px;
  }
  .qa-question::before, .qa-answer::before {
    width: 40px;
    height: 50px;
  }
  .job-spec__row {
    grid-template-columns: 1fr; /* 1列表示 */
    row-gap: 10px; /* 項目間に余白を追加するなら */
  }
  .information_img img {
    display: block;
    width: 100%;
    height: auto;
    /* グラデーションで右 → 左に透明化 */
    -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-image: linear-gradient(to left, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    mask-repeat: no-repeat;
    mask-size: 100% 100%;
  }
}
/* Mobile (Portrait) 画面の横幅が300px~750pxまで（基本）
---------------------------------------------------- */
@media only screen and (max-width: 750px) {
  .wrapper {
    width: 100%;
  }
  .header-inner {
    width: 100%;
    margin: auto;
    padding: 0;
  }
  #nav {
    display: none;
    position: absolute;
    top: 0;
    float: none;
    text-align: center;
    width: 100%;
    background: #fefefe;
    margin: 0 auto 40px auto;
    padding: 0;
  }
  .nav-menu {
    display: block;
    margin: 0;
  }
  .nav-menu li a {
    color: #333;
    display: block;
    font-size: 15px;
    padding: 20px 10px;
    text-decoration: none;
  }
  .nav-menu li {
    display: block;
    float: none;
    border-bottom: 1px solid #ededed;
  }
  .nav-menu > li + li {
    border-left: unset;
  }
  .toggle {
    display: block;
    float: right;
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 10000;
  }
  .logo {
    max-width: 180px;
    padding: 10px;
  }
  #header.scrolled .logo {
    max-width: 160px;
  }
  .h_txt {
    width: 100%;
  }
  .h_txt p {
    font-size: 16px;
  }
  .home_about {
    background-position: right -425px top;
    height: auto;
  }
  .bg_about, .bg_overview, .bg_voice, .bg_information {
    opacity: 0.5;
    top: unset;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    width: 100%;
  }
  .bg_service, .bg_forwork {
    opacity: 0.5;
    top: unset;
    bottom: 0;
    right: unset;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    width: 100%;
  }
  .about-inner {
    padding: 80px 0;
  }
  .about-text {
    padding: 20px;
    background: rgba(255, 255, 255, 0.6);
  }
  .about-text h2 {
    font-size: 24px;
  }
  .bg_blue_line {
    left: -200px;
    top: 0;
  }
  .service-cont {
    width: 100%;
    padding: 0;
  }
  .service-section-img {
    position: relative;
    width: 85%;
    margin: 25px auto 0;
  }
  .service-lead {
    font-size: 16px;
  }
  .service-desc {
    font-size: 14px;
    text-align: left;
  }
  .service-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
  }
  .service-img .badge {
    font-size: 50px;
  }
  .bg_blue_line_r {
    width: 200px;
  }
.f_logo {
    max-width: 220px;
    margin: 0 auto;
}
.footer-inner h2 {
    margin: 10px 0;
}
  .f_contact {
    padding: 50px 20px;
  }
  .f_contact p {
    font-size: 16px;
  }
  .reception-time {
    font-size: 18px;
  }
  #copyright {
    font-size: 14px;
    padding: 15px 10px;
  }
.sub-header {
    padding: 65px 0 0;
    margin-bottom: 30px;
}
.sub_title h2 {
        font-size: 24px;
        line-height: 1.5em;
        margin-bottom: 10px;
    }
    .sub_title h3 {
        font-size: 14px;
        line-height: 1.5em;
    }
    .about_txt {
        padding: 25px;
    }
.about_txt_box {
    font-size: 14px;
}
.company {
    padding-bottom: 100px;
}
    .company-info {
        margin-left: 0;
        margin-right: 0;
        background: none;
    }
.company-info table th, .company-info table td {
        padding: 15px 0;
        display: block;
	text-align: center;
	
    }
.company-info table th {
        background: var(--c-light);
	color: #FFF;
    }

  .overview_l,
  .overview_r {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50%;   /* 親の高さの半分 */
    opacity: 0.4;
  }

  .overview_l {
    top: 0;        /* 上半分 */
  }
  .overview_r {
    bottom: 100px;     /* 下半分 */
  }

  .overview_l img,
  .overview_r img {
    width: 100%;
    height: 100%;  /* 領域いっぱいに広げる */
    object-fit: cover;
    display: block;
  }
	
.page-lead-left{
	text-align:left;
	padding: 0 20px;
}	
section {
    margin: 0 0 30px !important;
}
.service-content-num {
    margin-bottom: 20px;
    padding: 0 0 15px;
}
    .service-content-txt {
        padding: 0;
    }
.service-content-desc {
    font-size: 14px;
}
.service-content-title {
    font-size: 32px ;
    letter-spacing: 0;
}
.work-content h2 {
    font-size: 18px;
    padding: 10px 10px;
}
.work-content_txt {
    padding: 20px 20px;
}
.work-content h3 {
    font-size: 16px;
    margin: 0 0 15px;
}
.work-content p {
    font-size: 14px;
    margin-bottom: 15px;
}
    .voice_img_r, .voice_img_l {
        width: 100%;
        right: unset;
        top: unset;
		left: unset;
        position: relative;
        padding: 10px;
    }
	.qa-question::before{
    top: 50%;
    left: -10px;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);	
	}
	
.qa-answer::before {
    left: -10px;
}
    .qa-question, .qa-answer {
        padding: 5px 0 5px 40px;
        font-size: 16px;
    }
    .qa-answer {
        font-size: 14px;
    }
	
.job-spec__title {
    font-size: 26px;
    width: 100%;
}
    .job-spec__list {
        padding: 0 20px;
    }
    .information_img {
    top: 0;
    bottom: 0;
    right: 0;  /* 必要なら */
    width: 100%;   /* 横いっぱいにしたい場合 */
    height: 100%;  /* 高さを親に合わせる */
    object-fit: cover; /* 画像をトリミングしてフィットさせる */
		opacity: 0.3;
    }
.information_img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 縦横比を維持して全体に広げる */
}
  .nav-menu li a {
    transition: none;
  }
  .nav-menu li a:active {
    background: var(--c-main);
    color: #fff;
  }
#contact {
  scroll-margin-top: 60px; /* ヘッダー高さなどに合わせて調整 */
}
	
}
.hero-pc, .txt-img-pc {
  display: block;
}
.hero-sp, .txt-img-sp {
  display: none;
}
@media (max-width: 750px) {
  .hero-pc, .txt-img-pc {
    display: none;
  }
  .hero-sp, .txt-img-sp {
    display: block;
  }
}
@media (min-width: 751px) {
a[href^="tel:"] {
    pointer-events: none;
    cursor: default;
}
}
#loader {
  position: fixed;
  inset: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}
#loader.hide {
  opacity: 0;
  pointer-events: none;
}

/* シンプルな回転アニメーション例 */
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #ccc;
  border-top-color: var(--c-main); /* ブランドカラー */
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
