@charset "utf-8";
/*
Theme Name: 株式会社 萩原製作所
Theme URI: https://hagiwara-net.co.jp/
Description: 最速でプラント設備の保守・メンテナンスにお応えするプラントメンテナンス会社。株式会社萩原製作所は広島県大竹市にあるプラント設備の部品製作や修理から回転機器の整備までお客様の幅広いニーズにお応えします
Version: 20260226
*/
/* ***************************************************************** 
*	共通設定
* ***************************************************************** */
*, *:before, *:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  line-height: 2em;
  list-style: none;
  text-decoration: none;
}
:root {
  --color-main: #004697;
  --color-sub: #3fa9f5;
  --color-bg: #eef3f7;
}
section {
  margin-bottom: 50px;
}
@media (min-width: 751px) {
  a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }
}
.br-sp {
  display: none;
}
.br-pc {
  display: inline;
}
@media screen and (max-width: 750px) {
  .br-sp {
    display: inline;
  }
  .br-pc {
    display: none;
  }
}
.sp-break::after {
  content: "　"; /* PCでは全角スペース */
}
@media (max-width:768px) {
  .sp-break {
    display: block;
  }
  .sp-break::after {
    content: ""; /* スマホではスペース消す */
  }
}
/* ***************************************************************** 
*	基本設定
* ***************************************************************** */
body {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  background: #fff;
  color: #000000;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
/* 画像
---------------------------------------------------- */
img {
  border: 0;
  padding: 0px;
  margin: 0px
}
ul {
  margin: 0;
  padding: 0;
  list-style: disc;
}
li {
  margin: 0;
  padding: 0;
}
li a {
  color: #45AAB8;
  transition: 0.5s;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -o-transition: 0.5s;
  -ms-transition: 0.5s;
}
li a:hover {
  color: #666;
}
/* *****************************************************************
*	全体Wrapper
* ***************************************************************** */
.wrapper {
  margin: 0 auto;
  max-width: 1920px;
  padding: 50px 0;
}
/* ***************************************************************** 
*	ヘッダー
* ***************************************************************** */
/* =============================
   HEADER 初期状態（透明）
============================= */
#header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
/* スクロール後 */
#header.is-scrolled {
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
/* ロゴや文字色を変えたい場合 */
#header.is-scrolled .nav-menu li a {
  color: #111;
}
.logo--dark {
  display: none;
}
#header.is-scrolled .logo--white {
  display: none;
}
#header.is-scrolled .logo--dark {
  display: block;
  width: 70%;
}
/* SPは常に青ロゴ */
@media (max-width:768px){

.logo--white{
  display:none;
}

.logo--dark{
  display:block;
}

}
/* スクロール後 */
#header.is-scrolled .nav-menu li a {
  font-size: 16px;
  padding: 5px 20px;
}
#header.is-scrolled .nav-menu > li:last-child > a {
  color: #fff;
  background: transparent;
}
#header.is-scrolled .header-inner {
  padding: 0;
}
#header.is-scrolled #nav ul.nav-menu::before {
  background: none;
}
.header-inner {
  margin: 0 auto;
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between; /* ← これが重要 */
}
/* ロゴ */
#header h1 {
  margin: 0;
	padding: 0 10px;
}
/* ナビ */
#nav {
  width: 100%;
  margin: 0 auto;
  z-index: 9999;
  padding: 0;
  text-align: right;
}
/* ul本体は切らない */
#nav ul.nav-menu {
  list-style: none;
  display: inline-flex;
  margin-left: auto;
  position: relative;
  background: transparent; /* ←背景は消す */
  overflow: visible; /* 念のため */
  padding-left: 50px;
}
/* 白い台形背景だけを疑似要素で作る */
#nav ul.nav-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  z-index: -1;
  clip-path: polygon(50px 0, 100% 0, 100% 100%, 0 100%);
}
.main-navigation {
  clear: both;
  margin: 0 auto;
  position: relative;
}
ul.nav-menu, div.nav-menu > ul {
  margin: 0;
  padding: 0;
}
.nav-menu li {
  display: inline-block;
  position: relative;
  margin: 0 -2px 0 -2px;
}
.nav-menu li a {
  color: #333;
  display: block;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  padding: 15px 30px;
}
.nav-menu li:hover > a, .nav-menu li a:hover {
  background: #eee;
}
.nav-menu .sub-menu, .nav-menu .children {
  background: #eee;
  display: none;
  padding: 0;
  position: absolute;
  z-index: 99999;
}
.nav-menu .sub-menu ul, .nav-menu .children ul {
  border-left: 0;
  left: 100%;
  top: 0;
}
ul.nav-menu ul a, .nav-menu ul ul a {
  color: #333;
  margin: 0;
  width: 200px;
}
ul.nav-menu ul a:hover, .nav-menu ul ul a:hover {
  background: #f5f5f5;
}
ul.nav-menu li:hover > ul, .nav-menu ul li:hover > ul {
  display: block;
  background: #eee;
}
.nav-menu .current_page_item > a, .nav-menu .current_page_ancestor > a, .nav-menu .current-menu-item > a, .nav-menu .current-menu-ancestor > a, .nav-menu .current-post-ancestor > a {
  color: #333;
  background: #f5f5f5;
}
/* =========================
   ドロップダウン（今風カード型）
========================= */
.nav-menu > li {
  position: relative;
}
/* sub-menu本体 */
.nav-menu .sub-menu, .nav-menu .children {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding: 10px 0;
  margin: 0;
  width: max-content; /* ← 文字量に合わせる */
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  z-index: 99999;
}
/* 表示 */
.nav-menu > li:hover > .sub-menu {
  display: block;
}
/* 各項目 */
.nav-menu .sub-menu li {
  display: block;
}
/* リンク */
.nav-menu .sub-menu a {
  display: block;
  padding: 12px 22px;
  white-space: nowrap; /* 改行しない */
  font-size: 16px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  transition: all .18s ease;
}
/* hover演出 */
.nav-menu .sub-menu a:hover {
  background: #f5f7fb;
  color: var(--color-main);
  padding-left: 26px; /* 少しスライド */
}
/* =========================
  hover：文字色をmain、背景なし、下線が中央から伸びる
========================= */
/* 既存hover背景を無効化 */
.nav-menu li:hover > a, .nav-menu li a:hover {
  background: transparent;
}
/* 通常リンク */
.nav-menu li a {
  position: relative;
  background: transparent;
  transition: color .2s ease;
}
/* 下線（中央から伸びる） */
.nav-menu li a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8px; /* 線の位置（必要なら微調整） */
  width: 0;
  height: 2px;
  background: var(--color-main);
  transform: translateX(-50%);
  transition: width .22s ease;
}
/* hover時：文字色をmain、線を伸ばす */
.nav-menu li:hover > a, .nav-menu li a:hover {
  color: var(--color-main);
}
.nav-menu li:hover > a::after, .nav-menu li a:hover::after {
  width: calc(100% - 24px); /* 左右余白を残して伸ばす（調整OK） */
}
/* current系も同じ見え方にしたい場合 */
.nav-menu .current_page_item > a, .nav-menu .current_page_ancestor > a, .nav-menu .current-menu-item > a, .nav-menu .current-menu-ancestor > a, .nav-menu .current-post-ancestor > a {
  background: transparent;
  color: var(--color-main);
}
.nav-menu .current_page_item > a::after, .nav-menu .current_page_ancestor > a::after, .nav-menu .current-menu-item > a::after, .nav-menu .current-menu-ancestor > a::after, .nav-menu .current-post-ancestor > a::after {
  width: calc(100% - 24px);
}
/* =========================
  親ナビの最後のliだけ特別デザイン
========================= */
.nav-menu > li:last-child {
  position: relative;
  background: var(--color-main);
  margin-left: 40px;
}
/* リンク */
.nav-menu > li:last-child > a {
  color: #fff;
  background: transparent;
}
.nav-menu > li:last-child > a::before {
  content: "\f0e0";
  font-family: "Font Awesome 6 Free";
  font-weight: 900; /* Solidアイコン */
  margin-right: 8px;
}
/* 左側の斜め部分 */
.nav-menu > li:last-child::before {
  content: "";
  position: absolute;
  left: -40px; /* 斜めの張り出し幅 */
  top: 0;
  width: 41px;
  height: 100%;
  background: var(--color-main);
  /* 左上から斜めカット */
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
}
/* hover時 少し濃く */
.nav-menu > li:last-child:hover {
  background: color-mix(in srgb, var(--color-main) 85%, #000);
}
.nav-menu > li:last-child:hover::before {
  background: color-mix(in srgb, var(--color-main) 85%, #000);
}
/* =========================
  ① サブメニュー文字を左寄せにする
  ② sub-menu の左余白（ul/li）を消す
========================= */
/* sub-menu全体を左寄せ（親の text-align:right を打ち消す） */
#nav .nav-menu .sub-menu, #nav .nav-menu .children {
  text-align: left;
}
/* sub-menu の ul 自体の余白をゼロに */
#nav .nav-menu .sub-menu, #nav .nav-menu .children {
  padding-left: 0;
}
/* sub-menu 内の li の余白（念のため margin/padding をゼロ） */
#nav .nav-menu .sub-menu li, #nav .nav-menu .children li {
  margin: 0;
  padding: 0;
}
/* sub-menu リンクの左余白が“多い”場合はここで調整 */
#nav .nav-menu .sub-menu a, #nav .nav-menu .children a {
  padding-left: 18px; /* ← 0にすると詰まりすぎるので、好みで 14〜22px */
}
.toggle {
  display: none;
}
.menu-toggle {
  width: 40px;
  height: 40px;
}
.hamburger {
  display: none;
}
/* ハンバーガーメニュー
---------------------------------------------------- */
/*!
* Hamburgers
* @description Tasty CSS-animated hamburgers
* @author Jonathan Suh @jonsuh
* @site https://jonsuh.com/hamburgers
* @link https://github.com/jonsuh/hamburgers
*/
.hamburger {
  padding: 10px 2px;
  display: inline-block;
  cursor: pointer;
  transition-property: opacity, -webkit-filter;
  transition-property: opacity, filter;
  transition-property: opacity, filter, -webkit-filter;
  transition-duration: 0.15s;
  transition-timing-function: linear;
  font: inherit;
  color: inherit;
  text-transform: none;
  background-color: transparent;
  border: 0;
  margin: 0;
  overflow: visible;
}
.hamburger:hover {
  opacity: 0.7;
}
.hamburger-box {
  width: 40px;
  height: 24px;
  display: inline-block;
  position: relative;
}
.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -2px;
}
.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
  width: 35px;
  height: 3px;
  background-color: #000;
  border-radius: 4px;
  position: absolute;
  transition-property: -webkit-transform;
  transition-property: transform;
  transition-property: transform, -webkit-transform;
  transition-duration: 0.15s;
  transition-timing-function: ease;
}
.hamburger-inner::before, .hamburger-inner::after {
  content: "";
  display: block;
}
.hamburger-inner::before {
  top: -10px;
}
.hamburger-inner::after {
  bottom: -10px;
}
/*
* Spin
*/
.hamburger--spin .hamburger-inner {
  transition-duration: 0.3s;
  transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.hamburger--spin .hamburger-inner::before {
  transition: top 0.1s 0.34s ease-in, opacity 0.1s ease-in;
}
.hamburger--spin .hamburger-inner::after {
  transition: bottom 0.1s 0.34s ease-in, -webkit-transform 0.3s cubic-bezier(0.55, 0.055, 0.675, 0.19);
  transition: bottom 0.1s 0.34s ease-in, transform 0.3s cubic-bezier(0.55, 0.055, 0.675, 0.19);
  transition: bottom 0.1s 0.34s ease-in, transform 0.3s cubic-bezier(0.55, 0.055, 0.675, 0.19), -webkit-transform 0.3s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.hamburger--spin.is-active .hamburger-inner {
  -webkit-transform: rotate(225deg);
  transform: rotate(225deg);
  transition-delay: 0.14s;
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}
.hamburger--spin.is-active .hamburger-inner::before {
  top: 0;
  opacity: 0;
  transition: top 0.1s ease-out, opacity 0.1s 0.14s ease-out;
}
.hamburger--spin.is-active .hamburger-inner::after {
  bottom: 0;
  -webkit-transform: rotate(-90deg);
  transform: rotate(-90deg);
  transition: bottom 0.1s ease-out, -webkit-transform 0.3s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1);
  transition: bottom 0.1s ease-out, transform 0.3s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1);
  transition: bottom 0.1s ease-out, transform 0.3s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-transform 0.3s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1);
}
/* トップヘッダー画像
---------------------------------------------------- */
/* =============================
   TOP HERO
============================= */
.top-header {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  margin-bottom: 100px;
}
/* 動画 */
.top-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1920px;
  transform: translate(-50%, -50%);
  object-fit: cover;
}
  .top-video {
    width: auto;
    height: 100%;
    min-width: 100%;
  }
/* オーバーレイ */
.top-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}
/* テキスト全体 */
.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
}
/* 日本語サブ */
.hero-sub {
  color: #4FC3FF;
  font-size: 40px;
  margin-bottom: 0;
  letter-spacing: 0;
  font-weight: 700;
}
/* 英語タイトル */
.hero-title {
  font-size: 82px;
  font-weight: 900;
  line-height: 1em;
  margin-bottom: 20px;
  margin: 0;
}
/* 説明文 */
.hero-desc {
  font-size: 24px;
  line-height: 1.5;
  opacity: 0.9;
  color: #FFF;
  margin: 10px 50px;
}
.t_bb, .t_wb {
  position: absolute;
  z-index: 10;
  height: clamp(80px, 15vw, 200px);
  overflow: hidden;
}
.line--weight {
  position: absolute;
  --cut: 0.6rem;
  clip-path: polygon(calc(100% - var(--cut)) 0, 100% 0, var(--cut) 100%, 0 100%);
  width: clamp(72px, 6vw, 104px);
  aspect-ratio: 96 / 180;
  z-index: 2;
}
.line {
  position: absolute;
  --cut: 0.6rem;
  clip-path: polygon(calc(100% - var(--cut)) 0, 100% 0, var(--cut) 100%, 0 100%);
  width: clamp(72px, 6vw, 104px);
  aspect-ratio: 96 / 180;
  z-index: 2;
}
.home_hero--line01 {
  top: -0.875rem;
  left: 20rem;
}
.home_hero--line02 {
  bottom: -0.875rem;
  left: 3rem;
}
.hero--line01 {
  top: -0.875rem;
  left: 24rem;
}
.hero--line02 {
  bottom: -0.875rem;
  left: 5rem;
}
.line-w {
  background: #fff;
}
.line-b {
  background: var(--color-sub);
}
/* =============================
   HERO下：青セクションを斜めに重ねる（追記）
============================= */
/* 青の色（必要ならサイトの変数に合わせて） */ :root {
  --hero-overlap-blue: #0b4ea2;
}
/* テキストが青マスクに隠れないように上へ（必要なら） */
.hero-inner {
  z-index: 4;
}
/* 斜め線（svg）も前面に */
.t_bb, .t_wb {
  z-index: 5;
}
.home-overlap {
  position: relative;
  z-index: 10;
  isolation: isolate;
  background: var(--hero-overlap-blue);
  margin-top: -280px;
  padding: 90px 20px 0;
  clip-path: polygon(0 120px, /* 左上 */ 100% 0, /* 右上 */ 100% 100%, /* 右下 */ 0 100% /* 左下 */
    );
}
.home-overlap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url(./images/tech_bg.png) no-repeat left bottom;
  background-size: contain;
  opacity: 1;
  z-index: 0;
  pointer-events: none;
  max-width: 670px;
}
.home-overlap__inner {
  position: relative;
  z-index: 1;
}
.home-overlap::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: clamp(60px, 7vw, 120px);
  background: var(--hero-overlap-blue);
  clip-path: polygon(0 0, 100% 40%, 100% 100%, 0 100%);
}
.home-overlap__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 0;
  align-items: start;
  padding-top: clamp(40px, 5vw, 80px);
  padding-bottom: clamp(50px, 6vw, 110px);
}
/* SP：1カラム */
@media (max-width: 900px) {
  .home-overlap__inner {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
}
.home-overlap__left {
  width: 45%;
}
.home-overlap__ttl {
  font-size: 46px;
  margin-bottom: 55px;
  color: #FFF;
}
.home-overlap__cap {
  position: relative;
  font-weight: 700;
  padding-left: 20px;
  font-size: 26px;
  color: #FFF;
  margin-left: 20px;
  line-height: 1em;
  margin-bottom: 10px;
}
/* 斜め線 */
.home-overlap__cap::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) skewX(-20deg);
  width: 10px;
  height: 30px;
  background: var(--color-sub);
}
/* =============================
   OVERLAP BUTTON
============================= */
.home-overlap__btn {
  position: relative;
  display: inline-block;
  padding: 18px 60px;
  background: #fff;
  color: var(--color-main);
  font-weight: 700;
  letter-spacing: .05em;
  text-decoration: none;
  overflow: hidden;
  transition: color .4s ease;
  font-size: 20px;
  border: 1px solid;
}
/* 中のテキストを前面に */
.home-overlap__btn span {
  position: relative;
  z-index: 2;
}
/* ホバー用の塗りアニメーション */
.home-overlap__btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: var(--color-sub);
  transition: width .4s ease;
  z-index: 1;
}
/* ホバー */
.home-overlap__btn:hover::before {
  width: 100%;
}
.home-overlap__btn:hover {
  color: #fff;
}
.home-overlap__right {
  width: 55%;
  text-align: justify; /* 両端揃え */
  text-justify: inter-ideograph; /* 日本語向け（効く環境のみ） */
  line-height: 2;
}
.home-overlap__right p {
  padding-bottom: 20px;
  color: #FFF;
  font-size: 22px;
  line-height: 1.8em;
}
/* =============================
   OUR SERVICE
============================= */
.our_service {
  background: #fff;
  padding: clamp(30px, 4vw, 50px) 0;
}
.our_service__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
/* 見出しブロック */
.our_service__head {
  margin-bottom: clamp(22px, 4vw, 34px);
}
.home-overlap__cap--main {
  color: var(--color-main);
}
.home-overlap__cap--main::before {
  background: var(--color-sub);
}
.our_service__ttl {
  margin: 0 0 10px;
  font-weight: 800;
  line-height: 1.5em;
  color: var(--color-main);
  font-size: clamp(20px, 2.2vw, 36px);
}
.our_service__ttl span {
  color: var(--color-main);
  font-size: 48px;
  line-height: 1em;
}
.our_service__lead {
  font-size: 18px;
}
/* カード 2×2 */
.our_service__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 28px);
  align-items: start;
}
/* カード本体 */
.service_card {
  position: relative;
}
/* 奇数（1番目・3番目）だけ少し下げる */
.our_service__grid .service_card:nth-child(odd) {
  margin-top: 50px; /* 数値はお好みで調整 */
}
/* ボタン風リンク */
.service_card__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 15px 30px;
  background: #fff;
  color: var(--color-main);
  font-weight: 600;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  position: absolute;
  left: 0;
  bottom: 0;
  font-size: 26px;
}
.service_card__arrow {
  font-weight: 900;
  transition: transform .25s ease;
}
/* 2番目・3番目のボタン：文字色のみサブカラー */
.our_service__grid .service_card:nth-child(2) .service_card__btn, .our_service__grid .service_card:nth-child(3) .service_card__btn {
  color: var(--color-sub);
}
/* リンク全体 */
.service_card__link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform .35s ease, box-shadow .35s ease;
}
/* ホバーでカード全体拡大 */
.service_card__link:hover {
  transform: scale(1.04) translateY(-4px);
}
/* 画像も少し滑らかに */
.service_card__img {
  transition: transform .4s ease;
}
/* SP */
@media (max-width: 768px) {
  .our_service__grid {
    grid-template-columns: 1fr;
  }
  .service_card__no {
    top: -12px;
    font-size: 30px;
  }
}
/* =========================
  Maintenance
========================= */
.maintenance {
  padding: clamp(70px, 7vw, 110px) 0;
  background: var(--hero-overlap-blue);
}
.maintenance__inner {
  padding: 0 20px;
  background: url(./images/maintenance_bg.png) no-repeat left center;
  background-size: auto 100%;
}
/* 上部タイトル帯 */
.maintenance__ttl {
  margin: 0 auto 60px;
  text-align: center;
  color: #fff;
  font-weight: 800;
  line-height: 1;
  font-size: clamp(28px, 2.6vw, 48px);
}
.maintenance__ttl span {
  display: block;
  font-size: clamp(31px, 1.4vw, 40px);
  font-weight: 700;
  opacity: .95;
  margin-bottom: 0px;
}
/* 本文 */
.maintenance__body {
  max-width: 1200px;
  margin: 0 auto;
  color: #fff;
  display: flex;
  align-items: center;
}
.maintenance__visual {
  max-width: 450px;
  width: 100%;
}
.maintenance__visual img {
  width: 100%;
  height: auto;
  display: block;
}
.maintenance__content {
  padding: 0 0 0 40px;
  width: 100%;
  max-width: 750px;
}
.maintenance__lead, .maintenance__text {
  color: #FFF;
}
.maintenance__lead {
  margin: 0 0 20px;
  font-weight: 800;
  font-size: clamp(20px, 1.8vw, 36px);
  line-height: 1.5;
}
.maintenance__text {
  margin: 0 0 50px;
  font-size: 18px;
  opacity: .95;
}
/* SP */
@media (max-width: 900px) {
  .maintenance__body {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
.maintenance__visual {
    margin: 0 auto;
}
  .maintenance__content {
    padding: 0;
    max-width: 100%;
  }
  .maintenance__inner {
    background-size: auto 70%;
  }
}
/* コンテナ */
.sdgs {
  max-width: 550px;
  margin: 40px auto;
	padding: 0 20px;
}
/* リンク本体 */
.sdgs a {
  position: relative;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  /* 青枠 */
  border: 3px solid #1e88c8;
  /* 影 */
  box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
  /* ★全部まとめてトランジション */
  transition: all .45s cubic-bezier(.4, .0, .2, 1);
}
/* 画像 */
.sdgs img {
  width: 100%;
  display: block;
  /* 通常状態から指定しておく */
  transform: scale(1);
  transition: transform .6s cubic-bezier(.4, .0, .2, 1);
}
/* ホバー時 */
.sdgs a:hover {
  border-color: transparent; /* 枠を自然に消す */
  box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
}
/* 画像ズーム（自然） */
.sdgs a:hover img {
  transform: scale(1.05);
}
.sub_header {
  position: relative;
  isolation: isolate;
  z-index: 0;
  height: clamp(280px, 35vw, 530px);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 120px), 0 100%);
}
/* 黒マスク（背景の上、文字の下） */
.sub_header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}
/* テキストはマスクより上 */
.sub_txt {
  position: absolute;
  z-index: 3; /* マスクより上 */
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
}
.sub_txt h1 {
  font-size: 42px;
  color: var(--color-sub);
}
.sub_txt h2 {
  font-size: 96px;
  color: #FFF;
  font-weight: 900;
  line-height: 0.9;
  font-style: italic;
  display: inline-block;
  transform: translateY(-12px);
}
.hero_overlap {
  position: relative;
  z-index: -1;
  isolation: isolate;
  background: var(--hero-overlap-blue);
  margin-top: -171px;
  padding: 200px 20px 155px;
  clip-path: polygon(0 120px, /* 左上 */ 100% 0, /* 右上 */ 100% calc(100% - 120px), /* 右下 */ 0 100% /* 左下 */ );
}
.layout {
  max-width: 1100px;
  margin: 0 auto;
}
.top_message {
  width: 100%;
  color: #FFF;
}
.top_message h2 {
  font-size: 52px;
  border-bottom: 1px solid;
  padding: 0 0 10px;
  margin-bottom: 10px;
  color: #FFF;
}
.top_message h3 {
  font-size: 40px;
  line-height: 1.5em;
}
.top_message p {
  font-size: 20px;
  padding: 30px 0;
}
.president {
  font-size: 28px;
  display: flex;
  align-items: center;
}
.president span {
  font-size: 18px;
  margin-right: 15px;
}
.m_company {
  display: block;
  font-size: 20px;
}
.philosophy {
  width: 100%;
  color: var(--color-main);
  font-weight: 500;
}
.philosophy__vision {
  width: 100%;
  border-bottom: 3px solid;
  padding-bottom: 15px;
  margin-bottom: 50px;
}
.philosophy__vision__title {
  display: flex;
  align-items: center;
  padding: 0 10px;
}
.philosophy__vision__title h3 {
  font-size: 24px;
  margin-left: 30px;
  font-weight: 500;
}
.philosophy__ethics {
  width: 100%;
}
.philosophy__inner {
  width: 100%;
  max-width: 1000px;
  padding: 20px 30px;
}
.philosophy__lead {
  font-size: 24px;
}
.philosophy__list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 0;
  padding: 0;
  margin: 15px 0 15px 20px;
  list-style: none;
  counter-reset: number;
}
/* 基本は2列 */
.philosophy__list li {
  width: calc(50% - 20px);
  position: relative;
  padding-left: 20px;
  box-sizing: border-box;
  font-size: 20px;
}
/* 左列（1・3）をやや狭く */
.philosophy__list li:nth-child(1), .philosophy__list li:nth-child(3) {
  width: calc(40% - 20px);
}
/* 右列（2・4）をやや広く */
.philosophy__list li:nth-child(2), .philosophy__list li:nth-child(4) {
  width: calc(60% - 20px);
}
/* 番号自動生成 */
.philosophy__list li::before {
  counter-increment: number;
  content: counter(number) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}
/* SPでは1列 */
@media (max-width: 768px) {
  .philosophy__list li {
    width: 100% !important;
  }
}
.section-divider {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 0;
}
.section-divider img {
  width: 100%;
  height: auto;
  display: block;
  /* 斜めカット */
  clip-path: polygon(0 120px, /* 左上 */ 100% 0, /* 右上 */ 100% calc(100% - 120px), /* 右下 */ 0 100% /* 左下 */ );
}
/* aboutus（背景色は--color-bg） */
.aboutus, .service_sec {
  position: relative;
  background: var(--color-bg);
  clip-path: polygon(0 120px, /* 左上 */ 100% 0, /* 右上 */ 100% calc(100% - 120px), /* 右下 */ 0 100% /* 左下 */ );
  margin: -120px 0;
  padding: 200px 0;
}
.service_sec__white {
  background: #FFF;
}
.service_sec__blue {
  background: linear-gradient(to right, #3fa9f5, #004697);
}
/* 中身を前に */
.aboutus__inner {
  position: relative;
  z-index: 2;
  padding: 0 0 100px;
}
.aboutus_table {
  width: 100%;
}
.aboutus_row, .recruit_row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  font-size: 18px;
  font-weight: 500;
}
.aboutus_th, .aboutus_td, .recruit_th, .recruit_td {
  padding: 20px;
}
.aboutus_th, .recruit_th {
  color: var(--color-main);
  border-bottom: 1px solid var(--color-main);
}
.aboutus_td, .recruit_td {
  border-bottom: 1px solid rgba(0, 0, 0, 0.35);
}
.history {
  margin: 50px auto 150px;
}
/* =========================
   リスト全体（縦ラインは1本）
========================= */
.timeline {
  list-style: none;
  margin: 50px 0;
  padding: 0;
  position: relative;
  width: 100%;
  max-width: 1000px;
}
/* 縦ライン（1本だけ） */
.timeline::before {
  content: "";
  position: absolute;
  left: 11px; /* ドット中心に合わせる */
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-sub);
  opacity: .35;
}
/* =========================
   1行（1年分）
========================= */
.timeline__item {
  display: flex;
  gap: 5px;
  position: relative;
  padding: 15px 0;
}
/* ドット */
.timeline__item::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 23px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--color-sub);
}
/* =========================
   日付（左カラム）
========================= */
.timeline__date {
  padding-left: 30px;
  width: 150px;
  flex: 0 0 150px;
  font-size: 16px;
  line-height: 1.9;
}
/* =========================
   右カラム
========================= */
.timeline__body {
  flex: 1;
  min-width: 0;
}
/* 説明文 */
.timeline__text {
  margin: 0;
  line-height: 1.9;
  font-size: 16px;
}
/* =========================
   SP（縦積み）
========================= */
@media (max-width: 768px) {
  .timeline__item {
    flex-direction: column;
    gap: 10px;
  }
  .timeline__date {
    width: auto;
    flex: 0 0 auto;
    padding-left: 34px; /* ドット位置は維持 */
  }
}
.qualified_person_list {
  width: 100%;
  position: relative;
  background: #e6e6e6;
  clip-path: polygon(0 120px, /* 左上 */ 100% 0, /* 右上 */ 100% calc(100% - 120px), /* 右下 */ 0 100% /* 左下 */ );
  margin: -120px 0;
  padding: 200px 0;
}
.qualified_person_list__inner {
  margin: 0 auto;
}
.qpl_list {
  display: grid;
  grid-template-columns: 1.3fr 1.1fr 1fr;
}
.qpl_list_box {
  width: 100%;
  padding: 25px 15px;
}
/* 1と4 */
.qpl_list_box:nth-child(1), .qpl_list_box:nth-child(4) {
  padding-left: 0;
}
/* 3 */
.qpl_list_box:nth-child(3) {
  padding-right: 0;
}
.qpl_list_box h3 {
  font-size: 30px;
  color: var(--color-main);
  border-bottom: 1px solid;
  position: relative;
  padding-left: 25px;
  margin-bottom: 15px;
}
.qpl_list_box h3::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%) skewX(-20deg);
  width: 10px;
  height: 30px;
  background: var(--color-main);
}
.qpl_list_box ul {
  width: 100%;
  padding-left: 1em;
}
.qpl_list_box ul li {
  list-style: disc;
  list-style-position: outside;
  font-size: 16px;
  padding: 0 0 5px;
}
.qpl_list_box ul li::marker {
  font-size: 0.8em;
}
/* ***************************************************************** 
*	サービス情報
* ***************************************************************** */
.service_title {
  margin-bottom: 160px;
}
.service_title h2 {
  border-bottom: 2px solid;
  padding-bottom: 5px;
  margin-bottom: 15px;
}
.service_inner {
  position: relative;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 40px;
  align-items: flex-start;
  margin-bottom: 50px;
}
.service_inner h2 {
  font-size: 34px;
  color: #000;
}
.service_inner h3 {
  font-size: 22px;
  position: relative;
  padding-left: 28px;
  margin: 20px 0 10px;
}
.service_inner h3::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%) skewX(-20deg);
  width: 10px;
  height: 30px;
  background: var(--color-sub);
}
.service_inner h4 {
  font-size: 20px;
}
.font-normal {
  font-weight: 500;
  font-size: 18px !important;
}
.service_service_content {
  flex: 1;
  position: relative;
}
.service_content_img {
  position: absolute;
  right: 0;
  bottom: -80px;
}
.mb_photo {
  margin-bottom: 100px;
}
.service_img {
  flex: 0 0 420px;
}
.service_bg {
  position: absolute;
  right: 0;
  top: 250px;
  z-index: 1;
  max-width: 800px;
  opacity: 0.7;
}
.handled_items h2 {
  font-size: 32px;
  border-bottom: 1px solid;
  padding: 0 0 5px;
  margin-bottom: 15px;
}
.handled_items_list, .facilities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.facilities {
  grid-template-columns: repeat(4, 1fr);
}
.handled_items_box {
  text-align: center;
}
.handled_items_img {
  width: 100%;
}
.handled_items_name {
  font-size: 16px;
  padding: 10px 0;
}
/* 共通（ol/ulどっちでも使える） */
.list {
  margin: 12px 0 0;
  padding-left: 1.4em; /* マーカー分の左余白 */
  line-height: 1.8;
  font-size: 16px;
}
.list li {
  margin: 6px 0;
}
/* 番号（1.2.3） */
ol<strong > .list</strong > {
  list-style: decimal; /* 1,2,3 */
}
/* ・（disc） */
ul.list {
  list-style: disc; /* ・ */
}
.recruit_inner {
  margin: 30px 0;
  color: #FFF;
}
.recruit_inner h2 {
  color: #FFF;
  padding-left: 25px;
  position: relative;
  border-bottom: 2px solid;
  margin-bottom: 15px;
}
.recruit_inner h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) skewX(-20deg);
  width: 10px;
  height: 30px;
  background: #ff0000;
}
.recruit_inner p {
  font-size: 18px;
  font-weight: 500;
}
.rec_img {
  margin: 20px 0;
}
.recruit_heading {
  text-align: center;
  margin: 80px auto 50px;
  max-width: 800px;
}
.recruit_heading_en {
  display: block;
  font-size: 16px;
  letter-spacing: 0.15em;
  color: #3fa9f5;
  font-weight: 600;
  margin-bottom: 5px;
}
.recruit_heading_ttl {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  line-height: 1em;
}
.recruit_heading_ttl::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: #3fa9f5;
  margin: 15px auto 0;
}
.recruit_heading_lead {
  font-size: 15px;
  line-height: 1.9;
  color: #555;
}
.job_list {
  margin-top: 10px;
}
.job_list li {
  padding: 15px 20px;
  margin-bottom: 15px;
  border-bottom: 1px solid var(--color-main);
}
.job_list li:last-child {
  border-bottom: none;
}
.job_list h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-main);
  margin-bottom: 6px;
}
.job_list p {
  font-size: 15px;
  line-height: 1.8;
}
.contact {
  max-width: 1000px;
  margin: auto;
  padding: 80px 20px;
}
.contact_head {
  text-align: center;
  margin-bottom: 50px;
}
.contact_ttl {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 15px;
}
.contact_lead {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
}
.contact_box {
  margin: 40px 0;
}
.contact_phone {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f7f7f7;
  border-radius: 8px;
  padding: 30px;
  flex-wrap: wrap;
  gap: 20px;
}
.contact_phone_title {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 8px;
}
.contact_phone_time {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}
.contact_tel_btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #004697;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 6px;
  text-decoration: none;
  transition: .3s;
}
.contact_tel_btn img {
  width: 26px;
}
.contact_tel_btn:hover {
  background: #00356e;
  transform: translateY(-2px);
}
.contact_mail_text {
  text-align: center;
  margin: 40px 0 10px;
  font-size: 16px;
  line-height: 1.8;
}
.contact_note {
  text-align: center;
  font-size: 13px;
  color: #888;
  margin-bottom: 40px;
}
.contact_info {
  background: #004697;
  color: #fff;
  padding: 14px 20px;
  font-weight: 700;
  border-radius: 4px;
  margin-bottom: 30px;
}
/* =========================
   Contact layout
========================= */
.contact.layout {
  max-width: 980px;
  margin: 0 auto;
  padding: 56px 20px 90px;
}
/* タイトル文（上・中） */
.contact_title {
  text-align: center;
  font-size: 22px;
  color: #444;
  margin: 0 0 5px;
}
/* 電話エリア（カード） */
.contact_phone {
  max-width: 760px;
  margin: 18px auto 34px;
  padding: 18px 20px;
  border-radius: 12px;
  background: rgba(63, 169, 245, 0.16);
  border: 1px solid rgba(63, 169, 245, 0.25);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 18px;
  line-height: 1.5;
  color: #2a445d;
  font-weight: 700;
}
/* 電話リンク（右側のボタンにする） */
.contact_phone a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
  transition: transform .25s ease, box-shadow .25s ease;
  text-decoration: none;
}
.contact_phone a:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}
/* tel.svg のサイズ調整 */
.contact_phone a img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 350px;
}
/* 注意文 */
.contact_note {
  text-align: center;
  font-size: 17px;
  line-height: 1.5;
  color: #ff0000;
  margin: 0px 0 26px;
}
/* フォームの見出し */
.contact_info {
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  color: #FFF;
  letter-spacing: .04em;
  margin: 18px 0 22px;
  padding-bottom: 14px;
  position: relative;
}
.contact_info::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -18px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 12px solid #004697;
  animation: arrowMove 1.8s infinite;
}
@keyframes arrowMove {
  0% {
    transform: translate(-50%, 0);
    opacity: 0.6;
  }
  50% {
    transform: translate(-50%, 6px);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, 0);
    opacity: 0.6;
  }
}
/* =========================
   Responsive
========================= */
@media (max-width: 768px) {
  .contact.layout {
    padding: 44px 16px 70px;
  }
  .contact_phone {
    flex-direction: column;
    text-align: center;
    padding: 16px 16px;
	  font-size: 16px;
  }
  .contact_phone a {
    width: 100%;
  }
  .contact_phone a img {
    width: min(280px, 100%);
  }
.contact_title {
    font-size: 18px;
}
}
/* ================================
   CONTACT FORM
================================ */
.inquiry {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 30px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 18px;
}
/* テーブル */
.inquiry table {
  width: 100%;
  border-collapse: collapse;
}
.inquiry tr {
  border-bottom: 1px solid #e5e5e5;
}
.inquiry th {
  width: 260px;
  text-align: left;
  padding: 18px 15px;
  font-weight: 700;
  vertical-align: top;
}
.inquiry td {
  padding: 15px;
}
/* ================================
   必須・任意バッジ
================================ */
.haveto {
  display: inline-block;
  background: #e53935;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  margin-right: 8px;
}
.any {
  display: inline-block;
  background: #3fa9f5;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  margin-right: 8px;
}
/* ================================
   INPUT
================================ */
.inquiry input[type="text"], .inquiry input[type="email"], .inquiry input[type="tel"], .inquiry textarea {
  width: 100%;
  font-size: 18px;
  padding: 14px 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: #fff;
  transition: all .25s ease;
}
.inquiry textarea {
  min-height: 180px;
  resize: vertical;
}
/* フォーカス */
.inquiry input:focus, .inquiry textarea:focus {
  outline: none;
  border-color: #3fa9f5;
  box-shadow: 0 0 0 4px rgba(63, 169, 245, 0.2);
}
/* placeholder */
.inquiry ::placeholder {
  color: #aaa;
}
/* ================================
   POLICY TEXT
================================ */
.contact_form_policy {
  margin: 30px 0 15px;
  padding: 18px 20px;
  background: rgba(63, 169, 245, 0.12);
  border-radius: 10px;
  text-align: center;
  line-height: 1.8;
}
.contact_form_policy a {
  color: #004697;
  font-weight: 700;
}
/* チェックボックス */
.spam1 {
  margin-right: 10px;
}
/* ================================
   SUBMIT BUTTON
================================ */
#formbtn {
  display: block;
  width: 320px;
  max-width: 100%;
  margin: 30px auto 0;
  padding: 16px 20px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background: #004697;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: .3s;
  box-shadow: 0 12px 26px rgba(0, 70, 151, 0.3);
}
#formbtn:hover {
  background: #00356e;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0, 70, 151, 0.35);
}
.policy_box {
  position: relative;
  max-width: 860px;
  margin: 12px auto 16px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.policy_iframe {
  width: 100%;
  height: 260px; /* 好みで */
  border: 0;
  display: block;
  padding: 10px 20px;
}
.policy_hint {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  pointer-events: none;
}
.policy_box.is-read .policy_hint {
  display: none;
}
.policy_accept {
  opacity: .5;
  pointer-events: none;
  transition: opacity .25s ease;
}
.policy_accept.is-enabled {
  opacity: 1;
  pointer-events: auto;
}
.policy_box_title {
  font-size: 20px;
}
/* reCAPTCHAバッジを左下に配置 */
.policy_midashi {
  position: relative;
  margin: 34px 0 14px;
  padding: 10px 12px 10px 16px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.4;
  color: #0b3f73;
  letter-spacing: .03em;
  background: rgba(63, 169, 245, 0.10);
}
.policy_midashi::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 4px;
  background: #004697;
}
.grecaptcha-badge {
  width: 70px !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
  left: 4px !important;
}
.grecaptcha-badge:hover {
  width: 256px !important;
}
/* ================================
   SP
================================ */
@media(max-width:768px) {
  .inquiry {
    padding: 25px 18px;
  }
  .inquiry th {
    width: 100%;
    display: block;
    padding-bottom: 5px;
  }
  .inquiry td {
    display: block;
    padding: 0 0 15px;
  }
  .inquiry tr {
    border: none;
  }
}
/* ***************************************************************** 
*	メイン（本文）コンテンツ
* ***************************************************************** */
/* 見出し
---------------------------------------------------- */
h1 {
  font-size: 24px;
}
h2 {
  font-size: 42px;
  line-height: 1.5em;
  color: var(--color-main);
}
h3 {
  font-size: 24px;
}
h4 {
  font-size: 22px;
}
h5 {
  font-size: 20px;
}
h6 {
  font-size: 20px;
}
/* テキスト
---------------------------------------------------- */
p {
  font-size: 16px;
  line-height: 2em;
}
ul {
  font-size: 16px;
}
/* パンくずリスト
---------------------------------------------------- */
.breadcrumb {
  margin: 10px 0 0px 0;
  line-height: 120%;
}
.breadcrumb div {
  display: inline;
  font-size: 11px;
  color: #999;
}
.breadcrumb span, .breadcrumb span a {
  color: #45aab8;
}
.breadcrumb ol {
  margin: 0px;
}
.breadcrumb li {
  margin: 0px;
  display: inline;
}
/* WP必須
---------------------------------------------------- */
.wp-caption {
  max-width: 100%;
}
.wp-caption-text {
  font-size: 90%;
  text-align: center;
}
.sticky {}
.gallery-caption {}
.bypostauthor {}
/* Text meant only for screen readers. */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}
.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000; /* Above WP toolbar. */
}
/* *****************************************************************
*	フッター
* ***************************************************************** */
#footer {
  width: 100%;
}
.footer-inner {
  margin: 0px auto;
  padding: 100px 0 30px;
  max-width: 1300px;
  display: flex;
}
.company_info {
  width: 100%;
  max-width: 500px;
}
.company_add {
  font-size: 20px;
  line-height: 1.5em;
  padding: 30px 20px;
}
.footer_menu{
  margin: 0 0 25px;
	padding: 0 20px;
}

.footer_menu ul{
  display: flex;
  justify-content: left;
  gap: 20px;
  padding: 0;
}

.footer_menu li{
  position: relative;
}

.footer_menu li:not(:last-child)::after{
  content: "|";
  position: absolute;
  right: -12px;
  color: #999;
}

.footer_menu a{
  font-size: 16px;
  color: #000;
  text-decoration: none;
  transition: opacity .3s;
}

.footer_menu a:hover{
  opacity: .7;
}
.company_map {
  width: 100%;
  max-width: 800px;
}
#copyright {
  font-size: 18px;
  color: #000;
  text-align: center;
  padding: 10px 0;
  font-weight: 700;
}
/* *****************************************************************
*	CSS3アニメーション
* ***************************************************************** */
.img-anime2 img {
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
.img-anime2:hover img {
  -webkit-transform: scale(1.3);
  transform: scale(1.3);
}
/* *****************************************************************
*   レスポンシブ（メディアクエリ）
* ***************************************************************** */

/* Tablet (Portrait) 画面の横幅が〜1380pxまで
---------------------------------------------------- */
/* タブレット */
@media only screen and (min-width: 1200px) and (max-width: 1380px) {
  .line--weight {
    width: 150px;
  }
}




/* Tablet (Portrait) 画面の横幅が751px〜1299pxまで
---------------------------------------------------- */
@media only screen and (min-width: 751px) and (max-width: 1299px) {
  .wrapper {
    width: 100%;
    margin: auto;
	  padding: 0;
  }
  .header-inner {
    width: 100%;
  }
  #nav {
    float: none;
    width: 100%;
    margin: 0 auto;
    padding: 0;
  }
  .footer-inner {
    width: 100%;
    padding: 0px 20px;
  }
.hero-sub {
    font-size: 34px;
}
.hero-title {
    font-size: 60px;
    line-height: 1.1em;
}
.hero-desc {
    margin: 10px 0;
}
.hero--line01 {
	top: 0;
    left: 20rem;
}
.sub_txt h2 {
    font-size: 84px;
}
.line {
    --cut: 1rem;
    width: 100px;
    aspect-ratio: 140 / 180;
}

}

/* 1024pxまで
---------------------------------------------------- */
@media only screen and (min-width: 751px) and (max-width: 1024px) {
.nav-menu li a {
    padding: 15px 10px;
}
.nav-menu > li:last-child {
    margin-left: 20px;
}
.top-header {
    height: 80vh;
}
.hero-inner {
    top: 45%;
}
.home-overlap {
    padding: 160px 20px 0;
}
.home-overlap__ttl {
    font-size: 32px;
}
.home-overlap__right p {
    font-size: 18px;
}
.layout {
    padding: 0 20px;
}
.sub_txt {
    left: 5%;
}
.sub_txt h1 {
    font-size: 42px;
    line-height: 1em;
    margin-bottom: 10px;
}
.service_title {
	margin: 50px 0 120px;
}
.aboutus, .service_sec {
    padding: 140px 0;
}
.our_service__ttl span {
    font-size: 40px;
}
    .footer-inner {
        flex-direction: column;
    }
.company_info {
    text-align: center;
    max-width: none;
    margin-bottom: 30px;
}
    .sub_txt h2 {
        font-size: 60px;
    }
.top_message h3 {
    font-size: 34px;
}
	.philosophy__vision__title h2{
		width: 30%;
	}
.philosophy__list {
    margin: 15px 0;
    flex-direction: column;
}
	.philosophy__list li, .philosophy__list li:nth-child(1), .philosophy__list li:nth-child(3){
		width: 100%;
	}
.philosophy__lead {
    font-size: 20px;
}
#header.is-scrolled .nav-menu li a {
    padding: 5px 10px;
}
.nav-menu > li:last-child::before {
    left: -29px;
    width: 30px;
}
.service_title h2, .recruit_inner h2 {
    font-size: 36px;
}
.contact_title {
    font-size: 20px;
}
	.contact_form_policy p{
		font-size: 14px;
	}
.hero--line02 {
    bottom: -2.875rem;
    left: 0rem;
}
    .hero-sub {
        font-size: 32px;
    }
.line--weight {
    --cut: 1rem;
    width: 110px;
}
	
}

/* Mobile (Portrait) 画面の横幅が300px~750pxまで（基本）
---------------------------------------------------- */
@media only screen and (max-width: 750px) {
#header {
    background: rgba(255, 255, 255, 0.75);
}
  .wrapper {
    width: 100%;
    padding: 15px 0px;
  }
  .header-inner {
    width: 100%;
    margin: 0;
    padding: 10px;
  }
  h2 {
    font-size: 30px;
  }
  #header h1 {
    width: 75%;
  }
  #header.is-scrolled .header-inner {
    padding: 15px 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 ul.nav-menu {
    display: block;
    padding-left: 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:last-child {
    margin-left: 0;
  }
  .nav-menu > li:last-child::before {
    display: none;
  }
  .toggle {
    display: block;
    float: right;
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 10000;
  }
  p {
    font-size: 16px;
    line-height: 1.8em;
  }
  .layout {
    padding: 0 20px;
  }
  .top-header::after {
    background: rgba(0, 0, 0, 0.50);
  }
  .hero-inner {
    padding: 0 20px;
	top: 45%;
		
  }
    .hero-title {
        font-size: 18px;
        line-height: 1.5em;
        margin: 0px 0;
    }
  .hero-sub {
    font-size: 26px;
    line-height: 1.5em;
  }
  .hero-desc {
    font-size: 16px;
    margin: 10px 0;
    line-height: 1.8em;
  }
    .home_hero--line01 {
        top: 65px;
        left: unset;
        right: 0px;
    }
    .home_hero--line02 {
        bottom: 85px;
        left: 5rem;
    }
  .home-overlap {
    clip-path: polygon(0 60px, /* 左上 */ 100% 0, /* 右上 */ 100% 100%, /* 右下 */ 0 100% /* 左下 */ );
	  padding: 90px 20px 50px;
  }
  .home-overlap__inner {
    padding: 0;
    display: flex;
    flex-direction: column;
  }
  .home-overlap__left, .home-overlap__right {
    width: 100%;
  }
  .home-overlap__cap {
    font-size: 20px;
	  margin-left: 0;
  }
  .home-overlap__ttl {
    font-size: 24px;
    margin: 20px 0 10px;
  }
  .home-overlap__btn {
    padding: 15px 0;
    font-size: 20px;
    width: 100%;
    text-align: center;
  }
  .home-overlap__right p {
    font-size: 16px;
  }
  .our_service__ttl {
    font-size: 20px;
  }
  .our_service__ttl span {
    font-size: 28px;
    display: block;
  }
  .our_service__grid .service_card:nth-child(odd) {
    margin-top: 0;
  }
  .our_service__lead {
    font-size: 16px;
  }
  .service_card__btn {
    padding: 5px 25px;
    font-size: 20px;
  }
  .maintenance__ttl, .maintenance__ttl span {
    font-size: 22px;
    line-height: 1.2em;
    margin-bottom: 20px;
  }
  .maintenance__inner {
    background: none;
  }
  .maintenance__text {
    font-size: 16px;
  }
  .footer-inner {
    width: 100%;
    padding: 30px 20px 0;
    display: block;
  }
  .company_add {
    font-size: 16px;
    padding: 15px 0px 30px;
  }
	.footer_menu{
		padding: 0;
	}
	
  .company_map {
    margin-top: 15px;
  }
.footer_menu ul {
    justify-content: center;
}
  #copyright {
    font-size: 12px;
    padding: 10px 0;
  }
  html, body {
    overflow-x: hidden;
  }
  .sub_header {
    height: 300px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 0 100%);
  }
  /* 画像 */
  .sub_header img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .sub_txt h1 {
    font-size: 24px;
    margin-bottom: 10px;
  }
  .sub_txt h2 {
    font-size: 40px;
  }
  .aboutus, .service_sec, .qualified_person_list {
    clip-path: polygon(0 40px, /* 左上 */ 100% 0, /* 右上 */ 100% calc(100% - 40px), /* 右下 */ 0 100% /* 左下 */ );
    margin: -40px 0;
	  padding: 100px 0;
  }
  .hero_overlap {
    padding: 200px 0px 110px;
    clip-path: polygon(0 40px, /* 左上 */ 100% 0, /* 右上 */ 100% calc(100% - 40px), /* 右下 */ 0 100% /* 左下 */ );
  }
  .line {
    position: absolute;
    --cut: 0.7rem;
    width: clamp(30px, 6vw, 104px);
    aspect-ratio: 90 / 180;
  }
  .hero--line01 {
    top: 5em;
    left: 12rem;
  }
  .hero--line02 {
    bottom: 2rem;
    left: 3rem;
  }
  .top_message h2 {
    font-size: 30px;
  }
  .top_message h3 {
    font-size: 20px;
    line-height: 1.8em;
  }
  .top_message h3 span {
    display: block;
    font-size: 22px;
    text-align: center;
  }
  .top_message p {
    font-size: 16px;
    padding: 15px 0;
  }
  .philosophy__vision__title {
    align-items: flex-start;
    flex-direction: column;
  }
  .philosophy__vision__title h3 {
    font-size: 18px;
    margin-left: 0;
    line-height: 1.5em;
    margin: 10px 0;
  }
  .philosophy__inner {
    padding: 20px 0;
  }
  .philosophy__lead {
    font-size: 18px;
    line-height: 1.5em;
  }
  .philosophy__list {
    margin: 10px 0 10px;
  }
  .philosophy__list li {
    font-size: 16px;
  }
  .section-divider img {
    width: 100%;
    height: 160px; /* ←高さ調整 */
    object-fit: cover;
    clip-path: polygon(0 40px, 100% 0, 100% calc(100% - 40px), 0 100%);
  }
  .aboutus_row, .recruit_row {
    display: flex;
    gap: 0;
    font-size: 16px;
    font-weight: 400;
    flex-direction: column;
  }
  .aboutus_th, .aboutus_td, .recruit_th, .recruit_td {
    padding: 15px 10px;
  }
  .timeline__body {
    margin-left: 25px;
  }
  .qpl_list {
    display: flex;
    flex-direction: column;
  }
.qpl_list_box, .qpl_list_box:nth-child(1), .qpl_list_box:nth-child(4), .qpl_list_box:nth-child(3) {
  padding: 15px 5px;
}
.history {
    margin: 50px auto;
}
.service_title {
    margin-bottom: 50px;
}
.service_title h2 {
    font-size: 26px;
}
.service_inner h2 {
    font-size: 30px;
}
    .service_inner h3 {
        font-size: 18px;
        margin: 15px 0 10px;
        line-height: 1.5em;
    }
.service_inner h4 {
    font-size: 18px;
}
.service_bg {
    top: 0;
    max-width: 250px;
}
.handled_items_list, .facilities {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
}
.service_content_img {
    position: relative;
    width: 80%;
    margin: 20px auto 50px;
	bottom: 0;
}
.list li {
    margin: 10px 0;
    line-height: 1.4em;
}
.recruit_inner h2 {
    font-size: 24px;
	padding-left: 35px;
	line-height: 1.2em;
	
}
.recruit_inner h2 span {
    display: block;
}
.recruit_inner h2::before {
    left: 10px;
    height: 60px;
}
.recruit_inner p {
    font-size: 16px;
}
.recruit_inner {
    margin: 0;
    color: #FFF;
}
.recruit_heading {
    margin: 0px auto 25px;
}
.job_list li {
    padding: 10px 10px;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--color-main);
}
#header.is-scrolled .nav-menu li a {
  padding: 20px 20px;
}
.policy_hint {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 0;
	width: 75%;
	}
.policy_iframe {
    padding: 10px 5px;
}
}
/* ===============================
fadeup animation
=============================== */
.fadeup {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition:
    opacity 0.8s ease, transform 0.8s cubic-bezier(.2, .65, .3, 1);
  will-change: transform, opacity;
}
.fadeup.is-show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media only screen and (max-width: 750px) {

  .nav-menu .sub-menu,
  .nav-menu .children {
    display: none;
    position: static;
    width: 100%;
    box-shadow: none;
    background: #f7f7f7;
    padding: 0;
    margin: 0;
    text-align: left;
  }

  .nav-menu .sub-menu li,
  .nav-menu .children li {
    display: block;
    border-bottom: 1px solid #e5e5e5;
  }

  .nav-menu .sub-menu a,
  .nav-menu .children a {
    width: 100%;
    padding: 14px 20px 14px 30px;
    font-size: 15px;
    color: #333;
    background: #f7f7f7;
  }

  .nav-menu .sub-menu a:hover,
  .nav-menu .children a:hover {
    background: #eef3f7;
    color: var(--color-main);
    padding-left: 30px;
  }

  /* PC用 hover 展開を無効化 */
  .nav-menu > li:hover > .sub-menu {
    display: none;
  }

  /* 開いた時だけ表示 */
  .nav-menu > li.open > .sub-menu,
  .nav-menu > li.open > .children {
    display: block;
  }
}

.header_404 {
    position: relative;
    z-index: 0;
    height: 100px;
}
.header_404::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.error404_section{
  position: relative;
  padding: 100px 20px 120px;
  overflow: hidden;
}

.error404_section::before{
  content: "404";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(120px, 22vw, 300px);
  font-weight: 800;
  line-height: 1;
  color: rgba(0, 70, 151, 0.05);
  z-index: 0;
  pointer-events: none;
}

.error404_inner{
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.error404_en{
  margin-bottom: 15px;
  color: var(--color-main);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.error404_ttl{
  margin-bottom: 25px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.5;
  color: var(--color-main);
  font-weight: 700;
}

.error404_txt{
  max-width: 700px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 2;
  color: #333;
}

.error404_btns{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.error404_btn{
  min-width: 220px;
  padding: 16px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  transition: 0.3s ease;
  border-radius: 2px;
}

.error404_btn--main{
  background: var(--color-main);
  color: #fff;
  border: 1px solid var(--color-main);
}

.error404_btn--main:hover{
  background: #fff;
  color: var(--color-main);
}

.error404_btn--sub{
  background: #fff;
  color: var(--color-main);
  border: 1px solid var(--color-main);
}

.error404_btn--sub:hover{
  background: var(--color-main);
  color: #fff;
}

@media screen and (max-width: 767px){
  .error404_section{
    padding: 70px 20px 90px;
  }

  .error404_txt{
    text-align: left;
  }

  .error404_btns{
    flex-direction: column;
    align-items: center;
  }

  .error404_btn{
    width: 100%;
    max-width: 320px;
  }
}