@charset "utf-8";
/* *************************************
// スタイル
************************************* */
:root {
  --header-height: 60px;
  --header-first-height: 100px;
  --rem: 1rem / 16;
  --bg: #ffffff;
  --ink: #111;
  --muted: #666;
  --brand: #226bc1;
  --card: #f7f7f8;
  --line: #e6e6e8;
  --radius: 16px;
  --radius-sm: 12px;
  --accent-ink: rgba(0, 0, 0, 0.06);
  --shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  --pin-amp-y: clamp(10px, 1.6vw, 24px); /* 上下の振幅 */
  --pin-amp-x: clamp(2px, 0.8vw, 10px); /* 左右の振幅 */
  --pin-rot: 2deg;
}
p, li, .body {
  text-wrap: pretty;        /* 末行が極端に短くなるのを緩和 */
}

h1,
h2,
h3,
h4 {
  font-family: "Noto Serif", serif;
}
body {
  overflow-x: hidden;
}

@media (max-width: 767px) {
  :root {
    --header-height: 60px;
    --header-first-height: 60px;
  }
}
/* *************************************
// ヘッダー
************************************* */
.h001.header {
  transition: 0.3s;
  box-shadow: none;
  position: fixed;
  height: var(--header-height);
  top: 0 !important;
  background-color: transparent;
}
.h003.header {
  background-color: var(--main-color);
  color: #fff;
}

.h001.header.scrolled {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.home .h001.header {
  position: fixed;
}

.home .h001.header.first_view {
  position: relative;
  height: var(--header-first-height);
}

.h001.header #inner-header {
  display: flex;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  max-width: 1500px;
  margin: auto;
  align-items: stretch;
  padding: 0;
}
.h001.header .logo {
  padding: 0 calc(var(--default-space) / 2);
}

.h001.header .logo img {
  display: block;
  height: 50px;
  @media (max-width: 798px) {
    height: 35px;
  }
}

.h001.header .header_box {
  display: flex;
  align-items: stretch;
  padding: 0 20px;
}

.h001.header .menu {
  background-color: var(--main-color);
}

.h001.header label.buMenu .icon-bar {
  background-color: #fff;
  transition: background-color 0.3s;
}

.h001.header.scrolled label.buMenu .icon-bar {
  background-color: #fff;
}

.h001.header label.buMenu .icon-bar:nth-child(1) {
  top: 5px;
}
.h001.header .menu.open label.buMenu .icon-bar:nth-child(1) {
  top: 5px;
  transform: translateY(5px) rotate(45deg);
}

.h001.header label.buMenu .icon-bar:nth-child(2) {
  top: auto;
  bottom: 5px;
}
.h001.header .menu.open label.buMenu .icon-bar:nth-child(2) {
  transform: translateY(-5px) rotate(-45deg);
}

.h001.header .menu_box {
  overflow: visible;
}

.h001.header .menu_box nav {
  height: 100%;
  display: flex;
  align-items: stretch;
}

.h001.header .menu .menu_text {
  color: #fff;
  margin-top: 5px;
  transition: color 0.3s;
}

.h001.header.scrolled .menu .menu_text {
  color: #fff;
}

.h001.header nav ul.global-nav > li {
  position: relative;
  display: flex;
  align-items: center;
}

.h001.header nav ul.global-nav > li.menu-item-has-children > a:after {
  content: "";
  display: inline-block;
  margin-left: 0.5em;
  width: 0.4em;
  height: 0.4em;
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  transition: border-color 0.3s;
  @media(max-width: 1030px) {
    content: none;
  }
}

.h001.header.scrolled nav ul.global-nav > li.menu-item-has-children > a:after {
  border-bottom: 2px solid;
  border-right: 2px solid;
  @media(max-width: 1030px) {
    content: none;
  }
}

.h001.header nav ul.global-nav > li.menu-item-has-children:hover:before {
  opacity: 1;
}

.h001.header nav ul.global-nav > li > a {
  height: 100%;
  display: flex;
  align-items: center;
  cursor: pointer;
  color: #fff;
  transition: color 0.3s;
  @media (max-width: 1030px) {
    color: #333;
  }
}

.h001.header.scrolled nav ul.global-nav > li > a {
  color: #333;
}

.header--sub {
  background-color: #fff !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.h001.header nav ul.global-nav > li ul.sub-menu {
  position: absolute;
  top: 100%;
  background: var(--base-color);
  z-index: 1000;
  left: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  padding: 50px 50px;
  display: grid;
  gap: 20px;
  grid-template-columns: 200px 200px 200px 200px;
  justify-content: center;
  visibility: hidden;
  transform: translateX(-50%);
  background-image: repeating-linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.06) 0,
      rgba(0, 0, 0, 0.06) 1px,
      transparent 1px,
      transparent 24px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.06) 0,
      rgba(0, 0, 0, 0.06) 1px,
      transparent 1px,
      transparent 24px
    );
  background-size: 24px 24px, 24px 24px;
  @media(max-width: 1200px) {
    background-image: none;
    background: transparent;
    transform: translateX(0);
    padding: 0;
    
  }
}

.h001.header nav ul.global-nav > li:hover ul.sub-menu {
  opacity: 1;
  pointer-events: all;
  visibility: visible;
}

.h001.header nav ul.global-nav ul.sub-menu > li {
  width: 100%;
}

.h001.header nav ul.global-nav .parent-info {
  text-align: center;
}

.h001.header nav ul.global-nav .parent-info > span {
  background: var(--color-brown2);
  color: #fff;
  padding: 20px 30px 5px;
  display: table;
  border-radius: 10px;
  white-space: nowrap;
  font-size: 20px;
  width: 100%;
  position: relative;
  margin-top: -17px;
  z-index: 0;
}

.h001.header nav ul.global-nav .parent-info > img {
  width: 80px;
  display: block;
  margin: auto;
  position: relative;
  z-index: 1;
}

.h001.header nav ul.global-nav ul.sub-menu > li > a {
  display: block;
  width: 100%;
  padding: 1em 2em;
  margin: 10px 0;
  border-radius: 5px;
  white-space: nowrap;
  position: relative;
  cursor: pointer;
  background: transparent;
  text-decoration: none;
  background: rgb(0, 127, 255, 0.7);
  border: 4px double #fff;
  color: #fff;
  text-align: center;
  @media(max-width: 1200px) {
    margin: 0;
    border-radius: 0;
    border: none;
    background: transparent;
    color: #333;
    padding: 0.5em 1em;
    text-align: start;
  }
}

.h001.header nav ul.global-nav ul.sub-menu > li > a:hover {
  background-color: #fff;
  transform: translateY(-2px);
  color: #333;
  border: 1px solid #ccc;
  @media(max-width:798px) {
    border: none;
  }
}
.h001.header nav ul.global-nav ul.sub-menu > li > a:after {
  content: "";
  display: block;
  width: 1em;
  height: 1em;
  background-image: url(../images/common/arrow1.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  transition: 0.3s;

}
.h001.header nav ul.global-nav ul.sub-menu > li > a:hover:after {
  right: 10px;
}
.h002 {

  @media(min-width: 799px) {
    padding-top: 10rem;
  }
}
.h002::before {
  background-image: url(../images/top/earth01.webp);
}
.h003::before {
  background-image: url(../images/top/blog.webp);
  background-position: 0 44%;
}
.h004::before {
  background-image: url(../images/top/home-image.webp);
  background-position: 0 40%;
  @media(max-width:798px) {
    background-position:center 10%;
    background-size: auto 150%;
  }
}

@media (max-width: 1030px) {
  .h001.header .logo {
    height: auto;
  }

  .h001.header .menu {
    display: flex;
  }

  .h001.header .menu_box {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    opacity: 0;
    pointer-events: none;
    display: grid;
    grid-template-columns: auto 1000px;
    transition: 0.2s linear;
    padding: var(--header-first-height) 5% 100px 5%;
    overflow-y: auto;
    overflow-x: hidden;
  }
  .h001.header .menu.open + .menu_box {
    opacity: 1;
    pointer-events: all;
    left: 0;
    display: block;
  }

  .h001.header .menu_box nav {
    height: auto;
    display: block;
    min-height: 100%;
  }
  .h001.header .menu_box nav ul li:first-child {
    border-top:none;
  }

  /* サブメニューの項目にはborder-topを適用しない */
  .h001.header .menu_box nav ul.global-nav ul.sub-menu li {
    border-top: none;
  }

  /* 板金製作部門（最後の項目）にも確実に適用 */
  .h001.header .menu_box nav ul.global-nav ul.sub-menu li:last-child {
    border-top: none;
  }

  /* すべてのサブメニュー項目のborder-topを強制的に削除 */
  .h001.header nav ul.global-nav ul.sub-menu > li {
    border-top: none;
  }
  .h001.header .menu_box nav ul {
    display: block;
  }

  .h001.header .menu_box nav ul li a {
    flex-direction: row;
    position: relative;
    padding-right: 50px;
    font-size: 1.1rem;
    font-weight: 500;
  }

  .h001.header nav ul.global-nav > li .sub-menu-wrap {
    position: relative;
    left: auto ;
    top: auto ;
    opacity: 1 ;
    background: #fff;
    width: 100%;
    padding: 0;
    display: block;
  }
  .h001.header nav ul.global-nav .parent-info {
   
  }

  /* .h001.header nav ul.global-nav > li.menu-item-has-children {
    position: relative;
    background-image: radial-gradient(circle, var(--main-color) calc(30px / 2 - 1px), transparent calc(30px / 2));
    background-position: top 9px right 5px;
    background-repeat: no-repeat;
    background-size: 30px 30px;
  } */

  .h001.header nav ul.global-nav > li.menu-item-has-children::after {
    content: "+";
    position: absolute;
    top: 9px;
    right: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 25px;
    background: var(--main-color);
    border-radius: 50%;
    transition: transform 0.3s ease;
    cursor: pointer;
    z-index: 10;
  }

  .h001.header nav ul.global-nav > li.menu-item-has-children.open::after {
    content: "-";
    transform: rotate(0deg);
  }
  .h001.header .menu_box nav ul {
    border-bottom: none;
  }

  .h001.header nav ul.global-nav > li ul.sub-menu {
    display: none;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.3s ease;
  }

  .h001.header nav ul.global-nav > li.open ul.sub-menu {
    display: block;
    pointer-events: all;
    opacity: 1;
    visibility: visible;
    max-height: 500px;
  }

  /* メニューが開いた時に直下のメニュー項目（お知らせ）だけを下にずらす */
  .h001.header nav ul.global-nav > li.open + li {
    margin-top: 180px;
    transition: margin-top 0.3s ease;
  }

  .h001.header nav ul.global-nav ul.sub-menu > li > a {
    width: 100%;
  }
  .h001.header nav ul.global-nav ul.sub-menu > li > a:after {
    display: none;
  }

  .h001.header nav ul.global-nav > li.menu-item-has-children:before {
    display: none;
  }
}

/* left icons */
.recruit-btn--job::before {
  left: 20px;
  background-image: url("../images/common/icon001.svg");
}

.recruit-btn--interview::before {
  left: 20px;
  background-image: url("../images/common/icon002.svg");
}

/* right icons (both use icon-r003) */
.recruit-btn--job::after,
.recruit-btn--interview::after {
  right: 20px;
  background-image: url("../images/common/icon-r003.svg");
}

@media (max-width: 1030px) {
  .h001.header {
    position: sticky ;
    top: 0;
    left: 0;
  }
  .h001.header .logo {
    height: var(--header-height);
  }

  .h001.header .logo img.normal {
    display: none;
  }
  .h001.header .logo img.first_view {
    display: block ;
    height: calc(var(--header-height) - 20px);
  }

  .h001.header.first_view .menu {
    top: 5px;
    right: 5px;
  }

  .h001.header .menu_box nav {
    overflow: auto;
    height: 100%;
  }

  .h001.header nav ul.global-nav > li ul.sub-menu {
 
  }
}
.header__nav {
  height: inherit;
  margin-inline-start: auto;
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 0 calc(24 * var(--rem));
  @media (width < 768px) {
    height: revert;
    min-height: 500px;
    padding: calc(20 * var(--rem));
    grid-template-columns: 1fr;
  }
}

.h001.header .menu.open {
  background-color: #fff;
}
.h001.header .menu.open .menu_text {
  color: var(--main-color);
}
.h001.header .menu.open label.buMenu .icon-bar {
  background-color: var(--main-color) ;
}
.h001.header .menu_box {
  background-color: #fff;
}

@media (width >= 1031px) {
  .h001.header .menu {
    display: none ;
  }

  .h001.header .menu_box {
    position: static;
    left: auto ;
    top: auto;
    width: auto ;
    height: auto;
    min-height: 0 ;
    opacity: 1;
    pointer-events: auto;
    overflow: visible;
    padding: 0 ;
    display: flex ;
    align-items: center;
    background: transparent;
  }

  .h001.header .menu_box nav {
    height: auto;
    display: flex;
    align-items: center ;
  }
  .h001.header .menu_box nav ul {
    display: flex;
    border: none ;
  }
  .h001.header .menu_box nav ul li {
    border: none ;
  }
  .h001.header .menu_box nav ul li a > span {
    display: block;
    margin: 0;
  }
}

/* ============ SP（798px以下） ============ */
@media (max-width: 1030px) {
  /* モバイルではハンバーガーを表示 */
  .h001.header .menu {
    display: flex;
  }

  .h001.header .menu_box {
    position: fixed;
    top: 0 ;
    left: 0 ;
    width: 100vw;
    height: 100vh;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s linear;
    padding: var(--header-first-height) 5%;
    overflow: auto ;
    display: block ;
    background-color: #fff ; 
    margin-top: 50px;
  }
  .h001.header .menu.open + .menu_box {
    opacity: 1 ;
    pointer-events: all ;
  }
}
/* *************************************
page-head (下層ページ用)
************************************* */
.page-head {
  position: relative;
  margin-top: calc(-0 * var(--rem));
  margin-left: auto;
  margin-right: auto;
}

.page-head__img {
  margin: 0;
  height: 350px;
  overflow: hidden;
  position: relative;
  width: 100%;
 @media(max-width: 798px) {
    aspect-ratio: 16 / 9;
  } 
}
.header--sub .header__list li a {
  color: #333;
  text-shadow: none;
}
.page-head__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  @media(max-width: 798px) {
    object-position: bottom;
    transform: scale(1.9);
    transform-origin: center 85%;
  }
}
.page-head__img::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    radial-gradient(circle, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 100% 100%, 5px 5px;
}
.header--sub .header__logo img {
  filter: none;
}

.page-head__title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -20%);
  text-align: center;
  color: #ffffff;
  z-index: 10;
  @media(max-width: 798px) {
    transform: translate(-50%, -50%);
    width: 100%;
  }
}

.page-head__title-jp {
  font-size: calc(40 * var(--rem));
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  @media (width < 768px) {
    font-size: calc(30 * var(--rem));
  }
}

.page-head__title-en {
  font-size: calc(18 * var(--rem));
  margin: 0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  letter-spacing: 0.1em;
  @media (width < 768px) {
    font-size: calc(16 * var(--rem));
  }
}

/* *************************************
   メインビジュアル (main visual)
************************************* */
.mv001 {
  height: 100vh;
  height: 100svh;
  position: relative;
  overflow: hidden;
  padding: 0;
  background: #ccc;
  @media (max-width: 798px) {
    height: 60vh;
  }
}

.mv001::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    radial-gradient(circle, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 100% 100%, 5px 5px;
  pointer-events: none;
}

/* テキストレイヤー */
.mv001 .mv001_contents {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;      
  justify-content: center;   
  color: #fff;
  letter-spacing: 0.16rem;
  padding: 0; 
  pointer-events: none;
}
.mv001 .mv001_text {
  font-size: min(4vw, 30px);
  font-weight: 700;
text-align: center;
  line-height: 2;
  margin: 20px;
  @media(max-width: 798px) {
    padding-bottom: 50px;
  }
}
.mv001 .mv001_text span {
  font-size: min(8vw, 65px);
}

.mv001 .mv001_text br + span {
  margin-top: 3rem;
  display: inline-block;
}
.mv001 .mv001_text br + span:last-child {
  margin-top: 2em;
}

.mv001 .mv001_slider,
.mv001 .mv001_slider .slick-list,
.mv001 .mv001_slider .slick-track {
  width: 100%;
  height: 100%;
}

.mv001 .mv001_slider .slick-slide {
  width: 100%;
  height: 100%;
  display: flex;
}

.mv001 .mv001_slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  flex: 1 1 auto;
}

.mv001 .mv001_slider .slick-prev,
.mv001 .mv001_slider .slick-next {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  z-index: 3;
  display: flex;
  align-items: center;
}
.mv001 .mv001_slider .slick-prev {
  left: 20px;
  justify-content: flex-end;
}
.mv001 .mv001_slider .slick-next {
  right: 20px;
  justify-content: flex-start;
}
.mv001 .mv001_slider .slick-prev:before,
.mv001 .mv001_slider .slick-next:before {
  content: "";
  width: 10px;
  height: 10px;
  background: transparent;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  display: block;
  margin: 0;
  opacity: 1;
}
.mv001 .mv001_slider .slick-prev:before {
  transform: rotate(225deg);
  margin-right: 7px;
}
.mv001 .mv001_slider .slick-next:before {
  transform: rotate(45deg);
  margin-left: 7px;
}
.mv001_slider video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;        /* 余白なくトリミング */
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .mv001 .mv001_slider .slick-track {
    transition: none;
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 30px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 15px;
  color: #fff;
}

.scroll-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.2em;
  line-height: 1;
  font-family: "Noto Serif", serif;
  font-weight: bold;
}

.scroll-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-diamond {
  width: 12px;
  height: 12px;
  background-color: #fff;
  transform: rotate(45deg);
  position: relative;
}

.scroll-line-element {
  width: 2px;
  height: 150px;
  background: linear-gradient(to bottom, #fff 0%, transparent 100%);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% {
    opacity: 0;
    transform: scaleY(0);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
  100% {
    opacity: 0;
    transform: scaleY(0);
  }
}

@media (max-width: 767px) {
  .scroll-indicator {
    bottom: 40px;
    left: 20px;
    gap: 10px;
  }

  .scroll-text {
    font-size: 12px;
  }

  .scroll-diamond {
    width: 7px;
    height: 7px;
  }

  .scroll-line-element {
    height: 30px;
  }
}

/* *************************************
// アバウト(main visual)
************************************* */
.top-about {
  padding: 80px 0;
  background-color: #fff;
  width: 100%;
}

.top-about-container {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  padding: 0 24px;
}

/* Left Images */
.top-about-images {
  display: flex;
  gap: 0;
  align-items: flex-start;
  padding-left: 0;
}

.image-left,
.image-right {
  width: clamp(180px, 28vw, 360px);
  aspect-ratio: 2 / 3;
  height: auto;
  position: relative;
  overflow: visible;
}

.image-left {
  position: relative;
  top: 20px;
}

.image-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
  filter: brightness(1.2) contrast(0.8);
  object-position: 36%;
}
.image-right {
  margin-left: -40px;
  z-index: 1;
}

.image-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
  filter: brightness(1.2) contrast(0.8);
}

/* Center Elements */
.top-about-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
}

.diamond-icon {
  width: 10px;
  height: 10px;
  background-color: var(--main-color);
  transform: rotate(45deg);
}

.about-title {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 1.3rem;
  color: var(--main-color);
  letter-spacing: 0.1em;
  @media (max-width: 1200px) {
    writing-mode: unset;
  }
}

.vertical-line {
  width: 1px;
  height: 100px;
  background-color: var(--main-color);
  @media (max-width: 1200px) {
    width: 100px;
    height: 1px;
  }
}

/* Right Content */
.top-about-right {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 0 0 0 50px;
  @media (max-width: 798px) {
    padding: 0;
  }
}

.about-heading {
  font-size: 1.2rem;
  color: var(--main-color);

  margin: 0;
}

.about-main-text {
  font-size: 2.6rem;
  font-weight: bold;
  line-height: 1.2;
  color: #333;
  font-family: "Noto Serif", serif;
}

.about-description {
  font-size: 1rem;
  line-height: 1.8;
  color: #666;
}

.about-description p {
  margin: 0 0 20px 0;
}

.about-description p:last-child {
  margin-bottom: 0;
}

.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--main-color);
  text-decoration: none;
  padding: 10px 50px 10px 30px;
  border-radius: 50px;
  transition: all 0.3s ease;
  width: fit-content;
  border: 1px solid var(--main-color);
  font-size: 1.2rem;
  position: relative;
}

.btn-more:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
  color: #fff;
}

.btn-more::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-image: url("../images/common/yaji-icon.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.btn-more:hover::after {
  filter: brightness(0) invert(1);
}
@media (max-width: 1200px) {
  .top-about-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .top-about-center {
    order: -1;
    flex-direction: row;
    gap: 30px;
  }

  .about-main-text {
    font-size: 3.5rem;
  }
}

@media (max-width: 767px) {
  .top-about {
    padding: 60px 0;
  }

  .top-about-container {
    padding: 0 20px;
    gap: 30px;
  }

  .top-about-images {
    gap: 15px;
  }
  .about-button {
    text-align: center;
  }

  .about-main-text {
    font-size: 1.8rem;
  }

  .about-heading {
    font-size: 1rem;
  }

  .btn-more {
    font-size: 14px;
  }
}

/* *************************************
// 環境方針
************************************* */

.top-environmental {
  padding: 100px 0;
  background-color: #f8f9fa;
  margin-top: 100px;
}

.top-environmental-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 60px;
  align-items: center;
  padding: 0 20px;
}

.top-environmental-left {
  display: flex;
  justify-content: center;
  align-items: center;
}

.environmental-image-wrapper {
  width: 100%;
  max-width: 400px;
}

.environmental-image {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.environmental-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

.top-environmental-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.environmental-diamond-icon {
  width: 10px;
  height: 10px;
  background-color: var(--main-color);
  transform: rotate(45deg);
}

.environmental-title {
  font-size: 1.3rem;
  color: var(--main-color);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: 0.1em;
  @media (max-width: 1200px) {
    writing-mode: unset;
  }
}

.environmental-vertical-line {
  width: 1px;
  height: 100px;
  background-color: var(--main-color);
  @media (max-width: 1200px) {
    width: 30px;
    height: 1px;
  }
}

.top-environmental-right {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.environmental-heading {
  font-size: 1.2rem;
  color: var(--main-color);
  margin: 0;
}

.environmental-main-text {
  font-size: 2.6rem;
  font-weight: bold;
  color: #333;
  line-height: 1.2;
  margin: 0;
  font-family: "Noto Serif", serif;
}

.environmental-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #666;
}

.environmental-description p {
  margin: 0 0 20px 0;
}

.environmental-description p:last-child {
  margin-bottom: 0;
}

.environmental-button {
  margin-top: 20px;
}

@media (max-width: 1200px) {
  .top-environmental-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .top-environmental-center {
    order: -1;
    flex-direction: row;
    gap: 20px;
  }

  .environmental-main-text {
    font-size: 3.5rem;
  }
}

@media (max-width: 767px) {
  .top-environmental {
    padding: 60px 0;
  }

  .top-environmental-container {
    padding: 0 20px;
    gap: 30px;
  }

  .environmental-image-wrapper {
    max-width: 300px;
  }

  .environmental-main-text {
    font-size: 1.6rem;
    line-height: 1.4;
  }

  .environmental-heading {
    font-size: 1.2rem;
  }

  .environmental-description {
    font-size: 1rem;
  }
  .environmental-button {
    text-align: center;
  }
}
/* *************************************
// トップページのリクルート
************************************* */

.top-recruit {
  padding: 100px 20px;
  position: relative;
  z-index: 10;
}

.top-recruit-container {
  max-width: 1200px;
  margin: 0 auto;
  background-image: url("../images/top/top-recruit.webp");
  background-size: cover;
  background-position: center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  padding: 0;
}
.top-recruit-content::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    radial-gradient(circle, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 100% 100%, 5px 5px;
  pointer-events: none;
  z-index: -1;
}

.top-recruit-container::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1;
  pointer-events: none;
  border-radius: 18px;
  border: 2px solid #ff0000;
  z-index: 10;
}

.top-recruit-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 60px 40px;
  position: relative;
  z-index: 8;
}

.top-recruit-left {
  display: flex;
  justify-content: center;
  align-items: center;
}

.recruit-main-text {
  font-size: 2.8rem;
  font-weight: bold;
  color: #fff;
  line-height: 1.5;
  margin: 0;
  font-family: "Noto Serif", serif;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.top-recruit-right {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.recruit-description {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #fff;
}

.recruit-description p {
  margin: 0 0 20px 0;
}

.recruit-description p:last-child {
  margin-bottom: 0;
}

.recruit-button {
  margin-top: 20px;
}

.recruit-button .btn-more {
  color: #fff;
  border-color: #fff;
}
.recruit-button .btn-more::after {
  filter: brightness(999);
}

.recruit-button .btn-more:hover {
  background-color: var(--main-color);
  color: #fff;
  border-color: var(--main-color);
}

@media (max-width: 1200px) {
  .top-recruit-content {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .recruit-main-text {
    font-size: 3.5rem;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .top-recruit {
    padding: 60px 10px;
  }

  .top-recruit-container {
    border-radius: 15px;
    padding: 0;
  }

  .top-recruit-container::before {
    border-radius: 13px;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
  }

  .top-recruit-content {
    padding: 40px 30px;
    gap: 40px;
  }

  .recruit-main-text {
    font-size: 2rem;
  }

  .recruit-description {
    font-size: 1.1rem;
  }
  .recruit-button {
    text-align: center;
  }
}
/* *************************************
// 事業案内一覧
************************************* */
.top-advantage {
  position: relative;
  overflow: visible;
  --cut-top: 4.5vw;
  --cut-bottom: 5.5vw;
}
.top-advantage:after {
  background: #ccc;
  content: "";
  display: inline-block;
  inset: 0;
  position: absolute;
  z-index: -1;
  height: 100%;
  clip-path: polygon(0% 13%, 100% 0%, 100% 85%, 0% 100%, 0% 100%, 0% 100%);
}
.top-advantage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;

  background-image: linear-gradient(
      135deg,
      #0a5ccfe6 0%,
      #0056b3cc 50%,
      #003d8299 100%
    ),
    url("../images/top/top-advantage00.webp");
  background-position: center, center;
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;

  clip-path: polygon(0% 0%, -70% 0%, 100% 10%, 100% 100%, 100% 100%, 0% 90%);
}

.top-advantage-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1.5fr 2fr;
  gap: 0px;
  align-items: end;
  padding: 100px 0 0px 0;
  min-height: clamp(520px, 60vw, 840px);
  clip-path: polygon(0% 0%, -70% 0%, 100% 10%, 100% 100%, 100% 100%, 0% 90%);
  @media (max-width: 798px) {
    display: block;
    padding-top: 120px;
  }
}
.top-advantage-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 0 40px 0 50px;
  @media (max-width: 798px) {
    flex-direction: row;
    padding-left: 17px;
    gap: 20px;
  }
}
.top-advantage-center,
.top-advantage-content {
  align-self: start;
}
.top-advantage-diamond-icon {
  width: 10px;
  height: 10px;
  background-color: #fff;
  transform: rotate(45deg);
}
.top-advantage-title {
  font-size: 1.3rem;
  color: #fff;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: 0.1em;
  @media (max-width: 798px) {
    writing-mode: unset;
  }
}
.top-advantage-vertical-line {
  width: 1px;
  height: 80px;
  background-color: #fff;
  @media (max-width: 798px) {
    width: 100px;
    height: 1px;
  }
}
.top-advantage-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-bottom: 100px;
  @media (max-width: 798px) {
    padding: 20px 15px 0 15px;
  }
}
.top-advantage-heading {
  font-size: 1.2rem;
  color: #fff;
  margin: 0;
}
.top-advantage-main-text {
  font-size: 2.4rem;
  font-weight: bold;
  color: #fff;
  line-height: 1.2;
  margin: 0;
  font-family: "Noto Serif", serif;
  @media (max-width: 798px) {
    font-size: 1.8rem;
  }
}
.top-advantage-sub-text {
  color: #fff;
}

.top-advantage-list li {
  color: #fff;
  font-size: 1.4rem;
  border-bottom: 1px solid #fff;
  padding-bottom: 5px;
  padding-top: 5px;
  width: 250px;
  padding-left: 20px;
  position: relative;
}
.top-advantage-list li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  transform: translate(-50%, 75%);
  width: 20px;
  height: 20px;
  background-image: url(../images/common/yaji-icon.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: brightness(0) invert(1);
}
.top-advantage-illustration-container {
  @media (min-width: 767px) and (max-width: 1200px) {
    
  }
}
.top-advantage-illustration {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 3;
  background-image: url(../images/top/recruit-illust.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right -8vw bottom -4vw;
  justify-self: end;
  align-self: end;
  width: 130%;
  z-index: 10;
  overflow: visible;
  isolation: isolate;
  @media (min-width: 799px) and (max-width: 1200px) {
    width: 100%;
  }
  @media (max-width: 798px) {
    background-position: right 0vw bottom 15vw;
    aspect-ratio: 1 / 1;
    width: 100%;
  }
}
.top-advantage-btn {
  text-align: center;
}

.top-advantage-pin {
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
  aspect-ratio: 1 / 1;
  width: clamp(32px, 7vw, 100px);
  pointer-events: none;
  z-index: 2;
  animation: floatY 3.5s ease-in-out infinite;
  pointer-events: auto;
  cursor: pointer;
  display: block;
}

.pin-item {
  position: absolute;
}

.pin-a .top-advantage-pin {
  background-image: url("../images/top/service-icon2.svg");
}
.pin-b .top-advantage-pin {
  background-image: url("../images/top/service-icon1.svg");
}
.pin-c .top-advantage-pin {
  background-image: url("../images/top/service-icon3.svg");
}
.pin-item.pin-a {
  left: 25%;
  top: 33%;
  animation-duration: 7s;
  animation-delay: 0.2s;
  @media (min-width: 799px) and (max-width: 1200px) {
    left: 28%;
    top: 28%;
  }
}
.pin-item.pin-b {
  left: 49%;
  top: 22%;
  animation-duration: 6s;
  animation-delay: 0.9s;
  @media (min-width: 799px) and (max-width: 1200px) {
    left: 53%;
    top: 17%;
  }
}
.pin-item.pin-c {
  left: 57%;
  top: 58%;
  animation-duration: 7.8s;
  animation-delay: 0.4s;
  @media (min-width: 799px) and (max-width: 1200px) {
    left: 61%;
    top: 55%;
  }
}
@media (max-width: 798px) {
  .pin-item.pin-a {
    left: 21%;
    top: 26%;
  }
  .pin-item.pin-b {
    left: 39%;
    top: 21%;
  }
  .pin-item.pin-c {
    left: 47%;
    top: 52%;
  }
}
@keyframes floatY {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -8px, 0);
  }
}
.top-advantage-pin-list {
  position: absolute;
  left: -400px;
  top: -150px;
  min-width: clamp(320px, 36vw, 560px);
  max-width: min(60vw, 640px);
  background: #fff;
  border: 1px solid var(--main-color, #ccc);
  border-radius: 12px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
  display: flex;
  gap: 16px;
  padding: 16px;
  z-index: 5;
  opacity: 0;
  visibility: hidden;
  transition: transform 3s ease;
  pointer-events: auto;
}
@media (max-width: 798px) {
  .pin-a .top-advantage-pin-list {
    left: -69px;
    top: -193px;
  }
  .pin-b .top-advantage-pin-list {
    left: -150px;
    top: -190px;
  }
  .pin-c .top-advantage-pin-list {
    left: -150px;
    top: -239px;
  }
}

/* 画像とテキストのレイアウト */
.top-advantage-pin-img {
  flex: 0 0 clamp(96px, 22%, 160px); /* 左の小画像幅 */
  aspect-ratio: 4/4; /* お好みで 1/1, 16/9 など */
  overflow: hidden;
  border-radius: 50%;
  align-self: center;
  width: 30%;
}
.top-advantage-pin-list2 {
  flex-wrap: wrap;
}
.top-advantage-pin-list2 a {
  display: flex;
  gap: 15px;
}
.top-advantage-pin-list2 a:nth-child(1) {
  border-bottom: 2px solid var(--main-color);
  padding-bottom: 10px;
}
.top-advantage-pin-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.top-advantage-pin-text {
  flex: 1 1 auto;
  width: 70%;
}
.top-advantage-pin-text h4 {
  font-size: clamp(16px, 1.6vw, 20px);
  margin: 0 0 6px;
  font-weight: 700;
}
.top-advantage-pin-text p {
  margin: 0;
  line-height: 1.7;
  font-size: clamp(13px, 1.3vw, 15px);
}

.pin-item:hover .top-advantage-pin-list,
.pin-item:focus-within .top-advantage-pin-list {
  opacity: 1;
  visibility: visible;
}

.pin-item.to-left:hover .top-advantage-pin-list,
.pin-item.to-left:focus-within .top-advantage-pin-list {
  transform: translateY(-50%) translateX(0) scale(1);
}
.pin-item.is-open .top-advantage-pin-list {
  opacity: 1;
  visibility: visible;
}

/* *************************************
// 新着情報
************************************* */
.recent {
  background: linear-gradient(
    135deg,
    var(--main-color) 0%,
    #0056b3 50%,
    #003d82 100%
  );
  position: relative;
  margin-top: -170px;
  z-index: 1;
}

.recent-container {
  display: grid;
  grid-template-columns: auto 1fr 2fr;
  gap: 40px;
  align-items: start;
  padding: 100px 0 100px 0px;
}

.recent-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding-left: 50px;
}

.recent-diamond-icon {
  width: 10px;
  height: 10px;
  background-color: #fff;
  transform: rotate(45deg);
}

.recent-title {
  font-size: 1.3rem;
  color: #fff;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: 0.1em;
  @media (max-width: 1200px) {
    writing-mode: unset;
  }
}

.recent-vertical-line {
  width: 1px;
  height: 80px;
  background-color: #fff;
  @media (max-width: 1200px) {
    height: 1px;
    width: 100px;
  }
}

.recent-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  @media (min-width: 798px) and (max-width: 1200px) {
    padding-left: 100px;
  }
}

.recent-heading {
  font-size: 1.2rem;
  color: #fff;
  margin: 0;
}

.recent-main-text {
  font-size: 2.4rem;
  font-weight: bold;
  color: #fff;
  line-height: 1.2;
  margin: 0;
  font-family: "Noto Serif", serif;
}

.recent-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #fff;
}

.recent-description p {
  margin: 0 0 20px 0;
}

.recent-description p:last-child {
  margin-bottom: 0;
}

.recent-button {
  margin-top: 20px;
}

.recent-button .btn-more {
  color: #fff;
  border-color: #fff;
}

.recent-button .btn-more::after {
  filter: brightness(999);
}

.recent-button .btn-more:hover {
  background-color: #fff;
  color: var(--main-color);
  font-weight: bold;
  border-color: #fff;
  border: double 4px var(--main-color);
}
.recent-button .btn-more:hover::after {
  filter: none;
}

.post_list {
  background-color: #fff;
  padding: 20px;
}

@media (max-width: 1200px) {
  .recent-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .recent-center {
    order: -1;
    flex-direction: row;
    gap: 30px;
  }

  .recent-main-text {
    font-size: 3.5rem;
  }
}

@media (max-width: 911px) {
  .recent {
    padding: 60px 0;
  }

  .recent-container {
    padding: 20px 20px 0 20px;
    gap: 30px;
  }

  .recent-main-text {
    font-size: 2rem;
  }

  .recent-heading {
    font-size: 1.2rem;
  }

  .recent-description {
    font-size: 1rem;
  }
}

/* *************************************
// ブログ
************************************* */
.pl002 {
  max-width: 1200px;
  margin: 0 auto;
}
.column {
  padding: 80px 0;

}

.column-container {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 911px) {
  .column-container {
    grid-template-columns: auto;
  }
}
.column-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-left: 50px;
  gap: 20px;
}

.column-diamond-icon {
  width: 10px;
  height: 10px;
  background-color: var(--main-color);
  transform: rotate(45deg);
}

.column-title {
  font-size: 1.2rem;
  color: var(--main-color);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  margin: 0;
  font-weight: bold;
  @media (max-width: 1200px) {
    writing-mode: unset;
  }
}

.column-vertical-line {
  width: 1px;
  height: 100px;
  background-color: var(--main-color);
  @media (max-width: 1200px) {
    width: 100px;
    height: 1px;
  }
}

.column-content {
  text-align: center;
  margin-bottom: 40px;
}

.column-articles {
  width: 100%;
}

.column-heading {
  font-size: 1.2rem;
  color: var(--main-color);
  margin: 0 0 10px 0;
  letter-spacing: 0.1rem;
}

.column-main-text {
  font-size: 2.4rem;
  font-weight: bold;
  color: var(--text-color);
  line-height: 1.2;
  margin: 0;
  font-family: "Noto Serif", serif;
}
.pl002 > a .date,
.pl002 > a .title,
.pl002 > a .category {
  padding-left: 20px;
  padding-right: 20px;
}
.pl002 > a {
  padding-bottom: 30px;
}
.pl002 > a .title {
  font-size: 1rem;
  position: relative;
}

.pl002 > a .title::after {
  content: "";
  position: absolute;
  right: 0px;
  top: 50%;
  transform: translate(-70%, -63%);
  width: 20px;
  height: 20px;
  background-image: url(../images/common/yaji-icon.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.pl002 > a .date {
  padding-top: 20px;
}
@media (max-width: 1200px) {
  .column-center {
    flex-direction: row;
    gap: 30px;
  }

  .column-main-text {
    font-size: 3.5rem;
  }
}

@media (max-width: 767px) {
  .column {
    padding: 60px 0;
  }

  .column-main-text {
    font-size: 2rem;
  }

  .column-heading {
    font-size: 1.2rem;
  }
}
/* *************************************
// topお問合せ
************************************* */
.top-contact .section-title__en,
.top-contact .section-title__jp {
  color: #fff;
}
.top-contact {
  background: linear-gradient(
    135deg,
    var(--main-color) 0%,
    #0056b3 50%,
    #003d82 100%
  );
  padding: 40px 0 60px 0;
}
.top-contact__title {
  text-align: center;
  color: #fff;
}
#content .section-title__en {
  margin-bottom: 0;
  font-size: 1.6rem;
  @media(max-width:798) {
    font-size: 1.3rem;
  }
}
.section-title__jp {
  font-weight: bold;
  padding-bottom: 20px;
  font-size: 2.8rem;
  
}
.top-contact__wrap {
  width: min(100%, 900px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 410px), 1fr));
  align-items: center;
  gap: 32px 64px;
  text-align: center;
  background-color: #fff;
  padding: 30px 0 30px 0;
}
.contact__tel-text {
  color: var(--main-color);
  font-size: 1.4rem;
  border-bottom: 1px solid #ccc;
  display: inline-block;
  font-weight: bold;
}
.contact-tel__number {
  font-weight: bold;
  font-size: 2.4rem;
  display: block;
  @media (max-width: 798px) {
    font-size: 2rem;
  }
}
#content .contact__tel-num {
  margin-bottom: 0;
}
.contact__tel-num {
  position: relative;
  display: inline-block;
  width: fit-content;
  padding-left: 20px;
}
.contact__tel-num::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 50%;
  display: inline-block;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-image: url(../images/common/icon_tel.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  @media (max-width: 798px) {
    width: 30px;
    height: 30px;
    left: -20px;
  }
}

.btn2 {
  background: linear-gradient(
    135deg,
    var(--main-color) 0%,
    #0056b3 50%,
    #003d82 100%
  );
  padding: 10px 30px;
  display: inline-flex;
  padding: 20px 88px;
  font-weight: bold;
  color: #fff;
  position: relative;
  border-radius: 50px;
  font-size: 1.3rem;
  @media (max-width: 798px) {
    font-size: 1.0rem;
  }
}
.btn2::before {
  content: "";
  position: absolute;
  left: 0px;
  top: 50%;
  transform: translate(100%, -50%);
  width: 30px;
  height: 30px;
  background-image: url(../images/common/icon_mail_w.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.btn2::after {
  content: "";
  position: absolute;
  right: 0px;
  top: 0;
  transform: translate(-100%, 100%);
  width: 25px;
  height: 25px;
  background-image: url(../images/common/yaji-icon.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: brightness(999);
}
/* *************************************
// フッター
************************************* */
.company_info .tel {
  padding-bottom: 20px;
}
@media (max-width: 798px) {
  .address,
  .tel {
    font-size: 0.9rem;
  }
}

/* *************************************
// リクルート
************************************* */

.recruit-page {
  background-color: #fff;
  min-height: 66vh;
  font-family: "Noto Sans JP";
}

.recruit-header {
  padding: 40px 50px;
  background-color: #fff;
}

.recruit-logo {
  margin-bottom: 40px;
}

.recruit-logo img {
  max-width: 300px;
  height: auto;
}

.recruit-left-section {
  display: flex;
  flex-direction: column;
  height: 100%;
  align-items: baseline;
}

.recruit-main-title {
  font-size: 7rem;
  font-weight: 900;
  color: #c90000;
  line-height: 6rem;
  font-family: "Noto Sans JP";
  position: relative;
  z-index: 10;
  @media(max-width: 798px) {
    line-height: 3rem;
    padding-top: 30px;
  }
}

.recruit-sub-title {
  font-size: 1.4rem;
  color: var(--recruit-color);
  padding: 20px;
  font-weight: bold;
  position: relative;
  z-index: 10;
  @media(max-width: 980px) {
    padding: 0 0 20px 0;
  }
}

.recruit-text-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  padding: 35px 0;
}

.recruit-text-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50px;
  width: 70vw;
  height: 100%;
  background-color: #c90000;
  z-index: -1;
}

.recruit-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: none;
  margin: 0;
  padding: 150px 50px 0px;
  align-items: start;
  position: relative;
}

.recruit-text-content h2 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 30px;
  line-height: 1.4;
  font-weight: bold;
}

.recruit-text-content p {
  font-size: 1rem;
  color: #fff;
  line-height: 1.8;
  margin-bottom: 50px;
  @media(max-width: 798px) {
    padding-right: 10px;
    margin-bottom: 0;
  }
}

.recruit-buttons {
  display: flex;
  gap: 20px;
  margin-top: auto;
}

.recruit-btn {
  padding: 15px 65px;
  background-color: #fff;
  color: #c90000;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s;
  font-weight: bold;
  border: 2px solid #fff;
}

.recruit-btn:hover {
  background-color: transparent;
  color: #fff;
}

.recruit-image {
  height: 100%;
  display: flex;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.recruit-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.recruit-content::after {
  content: "";
  position: absolute;
  top: 30px;
  bottom: 300px;
  left: 42%;
  right: 0px;
  z-index: 0;
  pointer-events: none;
  background-color: #f5f5f5;
}

@media (max-width: 768px) {
  .recruit-content::after {
    top: 20px;
    bottom: 20px;
    left: 46%;
    right: 0;
  }
}

@media (max-width: 980px) {
  .recruit-content {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 20px 40px;
  }

  .recruit-left-section {
    height: auto;
  }

  .recruit-main-title {
    font-size: 2.5rem;
  }

  .recruit-text-content::before {
    width: 100vw;
    left: -40px;
  }

  .recruit-text-content h2 {
    font-size: 1.7rem;
  }

  .recruit-buttons {
    flex-direction: column;
    margin-top: 30px;
  }

  .recruit-header {
    padding: 20px;
  }

  .recruit-image {
    height: auto;
  }
  .recruit-btn {
    text-align: center;
    width: 310px;
  }
}

.recruit-page {
  font-family: "Noto Sans JP", "Noto Sans Japanese", "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
}

.recruit-page h1,
.recruit-page h2,
.recruit-page h3,
.recruit-page h4 {
  font-family: "Noto Sans JP", "Noto Sans Japanese", "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
}

.recruit-main-title {
  font-family: "Noto Sans JP", "Noto Sans Japanese", "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
}

.recruit-btn {
  position: relative;
}

.recruit-btn--job::before,
.recruit-btn--interview::before,
.recruit-btn--job::after,
.recruit-btn--interview::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30px;
  height: 30px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform: translateY(-50%);
}
.recruit-btn--job:hover::before,
.recruit-btn--interview:hover::before,
.recruit-btn--job:hover::after,
.recruit-btn--interview:hover::after {
  filter: brightness(0) invert(1);
}

/* *************************************
// リクルート　魅力
************************************* */
.charm {
  background-color: #fff;
  padding: 80px 0 30px 0;
  font-family: "Noto Sans JP";
  @media(max-width: 798px) {
    padding-bottom: 0;
    padding-top: 20px;
  }
}
.charm .wrap {
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}
.charm-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
}
.charm-text {
  display: flex;
  flex-direction: column;
  gap: 20px;

}
@media screen and (min-width:797px) and ( max-width:1200px){
  .charm-text {
    text-align: center;
  }
  .charm-badge {
    margin: 0 auto;
  }
}
.charm-subtitle {
  position: relative;
  font-size: 1.1rem;
  color: var(--recruit-color);
  font-weight: bold;
  @media(max-width:798px) {
    font-size: 0.8rem;
    text-align: center;
  }
}
.charm-subtitle span {
  position: relative;
}
.charm-subtitle span::before,
.charm-subtitle span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40px;
  height: 1px;
  background-color: currentColor;
  transform-origin: center;
  color: var(--recruit-color);
  @media(max-width: 798px) {
    width: 25px;
  }
}

.charm-subtitle span::before {
  right: calc(100% + 6px);
  transform: translateY(-50%) rotate(60deg);
}
.charm-subtitle span::after {
  left: calc(100% + 6px);
  transform: translateY(-50%) rotate(-60deg);
}

.charm-title {
  font-size: 3.4rem;
  margin: 0;
  line-height: 1.3;
  color: #333;
  font-weight: 900;
  font-family: "Noto Sans JP", "Noto Sans Japanese", "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
}
.charm-title .accent {
  color: var(--recruit-color);
}

.charm-badge {
  display: inline-block;
  background-color: #c90000;
  color: #fff;
  padding: 5px 20px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  width: 320px;
  text-align: center;
}
.charm-description {
  color: #555;
  line-height: 1.5;
  padding-bottom: 30px;
}
.charm-description p { 
  margin-bottom: 15px;
}
.charm-description br {
  @media(max-width: 798px) {
    display: none;
  }
}
.charm-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media (max-width: 992px) {
  .charm-container {
    grid-template-columns: 1fr;
  }
  .charm-title {
    font-size: 2rem;
  }
}

.charm-list {
  padding: 30px 40px;
  list-style: none;
  display: inline-grid;
  grid-template-columns: repeat(2, auto);
  gap: 20px 50px;
  grid-column: 1 / -1;
  @media(max-width: 798px) {
    grid-template-columns: repeat(1, auto);
    padding: 30px 20px;
  }
}
.charm-list li {
  position: relative;
  padding-left: 36px;
  line-height: 1.8;
}
.charm-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  background-image: url("../images/common/icon-r004.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
.charm-list span {
  display: inline-block;
  font-size: 1.2rem;
  @media(max-width: 798px) {
    font-size: 1rem;
  }
}

.charm-list-wrap {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  margin-top: 30px;
  position: relative;
  @media(max-width: 798px) {
    margin: 0 calc(50% - 50vw);
    background: var(--recruit-color);
    padding: 20px 0;
  }
}

.charm-list-wrap::before {
  content: "";
  position: absolute;
  inset: -40px 0 -60px 0;
  background-color: var(--recruit-color);
  z-index: 0;
  width: 90vw;
}

@media (max-width: 798px) {
  .charm-list-wrap::before {
    content: none;
  }
}


.charm-list-panel {
  position: relative;
  background-color: #fff;
  z-index: 1;
  border-radius: 4px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
}

/* *************************************
// recruit 共通見出し
************************************* */
.recruit-page .charm-title {
  letter-spacing: 0.02em;
}
.recruit-page .charm-title .accent {
  color: var(--recruit-color);
}
.recruit-page .charm-badge {
  background-color: #c90000;
}
@media(max-width:798px) {
  .recruit-page .charm-title {
    text-align: center;
  }
}

/* *************************************
// 環境セクション
************************************* */
.environment {
  padding: 80px 0;
  background-color: var(--recruit-color);
  position: relative;
  overflow: hidden;
  font-family: "Noto Sans JP";
  @media(max-width: 798px) {
    padding: 20px 0 30px 0;
  }
}
.environment::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: clamp(16px, 8vw, 120px);
  background-color: #fff;
  background-image: repeating-linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.06) 0,
      rgba(0, 0, 0, 0.06) 1px,
      transparent 1px,
      transparent 24px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.06) 0,
      rgba(0, 0, 0, 0.06) 1px,
      transparent 1px,
      transparent 24px
    );
  background-size: 24px 24px, 24px 24px; /* 方眼サイズ */
  pointer-events: none;
  z-index: 0;
}
.environment .wrap {
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  @media(max-width: 798px) {
    padding: 0 30px 0 0 ;
  }
}
.environment-list {
  display: grid;
  gap: 80px;
  margin-top: 40px;
  @media(max-width: 798px) {
    gap: 40px;
  }
}

.environment-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
}
.environment-text {
  position: relative;
  @media(max-width: 798px) {
    padding-left: 10px;
  }
}
.environment-subtitle {
  font-size: 1rem;
  font-weight: 700;
  color: var(--recruit-color);
  padding-bottom: 10px;
  margin-bottom: 16px;
  border-bottom: 1px solid #333;
  display: inline-block;
}
.environment-subtitle span {
  border-bottom: 1px solid #333;
}
.environment-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 16px;
  font-family: "Noto Sans JP";
}
.environment-description {
  font-size: 1rem;
  line-height: 1.9;
  color: #333;
  @media(max-width:798px) {
    padding-right: 20px;
    font-size: 0.9rem;
  }
}
.environment-text p {
  @media(max-width: 798px) {
    font-size: 0.9rem;
  }
}
.environment-text p br{
  @media(max-width: 798px) {
    display: none;
  }
}
.environment .wrap {
  @media(max-width: 798px) {
    width: 94%;
  }
}

.environment-number {
  position: absolute;
  right: -10px;
  top: -30px;
  font-size: clamp(80px, 16vw, 200px);
  font-weight: 900;
  color: rgba(201, 0, 0, 0.08);
  line-height: 1;
  pointer-events: none;
}

.environment-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media (max-width: 992px) {
  .environment-row {
    grid-template-columns: 1fr;
  }
  .environment-number {
    right: 5%;
    top: -20px;
    font-size: clamp(80px, 28vw, 180px);
  }
}

/* *************************************
// recruit 現在募集中の職種（タブ）
************************************* */
.job {
  padding: 80px 0;
  background-color: var(--recruit-color);
  position: relative;
  font-family: "Noto Sans JP";
  @media(max-width: 798px) {
    padding: 30px 0;
  }
}
.job .wrap {
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
  @media(max-width:798px) {
    padding: 0;
  }
}
.job-header {
  text-align: center;
  color: #fff;
}
.job-header .charm-title {
  color: #fff;
}
.job-header .charm-badge {
  margin: 10px auto 30px;
}

/* tabs */
.job-tabs {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}
.job-tabs input[type="radio"] {
  display: none;
}
.job-tablist {
  display: flex;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  background-color: var(--recruit-color);
  @media(max-width:980px) {
    gap: 5px;
    overflow-x: scroll;
  }
}
.job-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 12px;
  font-weight: 700;
  cursor: pointer;
  background: #cdecc0;
  color: #333;
  border-radius: 10px 10px 0 0;
  font-size: 1.1rem;
  flex: 1;
  @media(max-width: 980px) {
    font-size: 1rem;
    padding: 10px 5px;
    white-space: nowrap;
  }
}

.job-tab .job-tab-icon {
  /* width: 22px;
  height: 22px;
  background-image: url("../images/common/icon-r004.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: brightness(0) invert(1); */
}

.job-feature br {
  @media(max-width: 798px){
  display: none;
  }
}

.job-panels {
  background: #fff;
  padding: 30px 50px;
  font-family: "Noto Sans JP";
  @media(max-width: 798px) {
    padding: 30px 20px;
  }
}
.job-panel__text strong{
  font-size: 1.4rem;
  @media(max-width: 798px){
  font-size: 1.1rem;
  }
}
.job-panel {
  display: none;
}
.job-panel.is-active {
  display: block;
}

/* upper */
.job-panel-upper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
}
.job-upper-left {
  order: 2;
  @media(max-width: 798px) {
    padding-top: 20px;
  }
}
.job-upper-right {
  order: 1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 10px;
  @media(max-width:798px) {
    grid-template-columns: 1fr;
  }
  @media(min-width:799px) {
    padding-top: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #ccc;
    margin-bottom: 15px;
  }
}
.job-role-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0 0 10px;
  font-family: "Noto Sans JP";
  color: var(--recruit-color);
  @media(max-width: 798px) {
    font-size: 1.6rem;
  }
}
.job-feature p span {
  @media(max-width: 798px) {
    font-size: 0.7rem !important;
  }
}
.job-feature p {
  @media(max-width: 798px) {
    font-size: 1rem;
  }
}
.job-feature p br ,.job-panel__text p br{
  @media(max-width: 798px) {
    display: none;
  }
}
.job-feature {
@media(max-width: 798px) {
  margin-top: 10px;
}
}
.job-feature:last-child {
  @media(max-width: 798px) {
    padding-bottom: 20px;
    border-bottom: 1px dashed #ccc;
    
  }
}
.job-feature-title {
  background: #c90000;
  color: #fff;
  font-weight: 800;
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 10px;
}

/* lower */
.job-panel-lower {
  margin-top: 36px;
}
.job-benefits-title {
  color: var(--recruit-color);
  border: 2px solid var(--recruit-color);
  padding: 12px;
  text-align: center;
  margin: 0 0 18px;
  font-size: 1.2rem;
  font-weight: bold;
  font-family: "Noto Sans JP";
}
.job-benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.job-detail-group {
  display: grid;
  grid-template-columns: 30% 70%;
  column-gap: 24px;
  align-items: start;
  padding: 16px 0;
  position: relative;
  border-bottom: 1px solid #ccc;
  margin: 0;
}
.job-detail-group::before {
  content: "";
  position: absolute;
  bottom: -1px;
  width: 20%;
  height: 1px;
  background: var(--recruit-color);
}
.job-detail-group dt,
.job-detail-heading {          
  grid-column: 1;
  margin: 0;
  color: var(--recruit-color);
  font-weight: 800;
}
.job-detail-group dd {
  grid-column: 2;
  margin: 0 0 .4em 0;         
  line-height: 1.9;
  text-align: left;
}
.job-detail-group dd + dd {
  margin-top: .2em;
}

.job-detail-lines {
  grid-column: 2;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 992px) {
  .job-panel-upper {
    grid-template-columns: 1fr;
  }
  .job-benefits-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767px) {
  .job-detail-group {
    grid-template-columns: 1fr; /* 1列に */
    row-gap: 8px;
  }
  .job-detail-heading {
    grid-column: 1;
  }
  .job-detail-lines {
    grid-column: 1;
  }
}
@media (max-width: 767px) {
  .job-detail-group dt {
    grid-column: 1;
  }
  .job-detail-group dd {
    grid-column: 1;
  }
}
/* *************************************
   社員インタビュー
************************************* */
.interview {
  background-color: #fff;
  padding: 80px 0;
  font-family: "Noto Sans JP";
  @media(max-width: 798px) {
    padding: 30px 0;
  }
}

.interview .wrap {
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}

.interview-header {
  margin-bottom: 30px;
}

/* .charm-title / .charm-badge は既存の見た目を流用 */
.interview-header .charm-title {
  margin: 0;
}
.interview-header .charm-badge {
  margin: 12px auto 0;
}

/* グリッド（2カラム×2段） */
.interview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 50px;
  margin-top: 30px;
}

@media (max-width: 992px) {
  .interview-grid {
    grid-template-columns: 1fr;
  }
}

/* カード */
.interview-card {
  background: #fff;
  overflow: hidden;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}
.interview-card:nth-child(2n-1) {
  margin-top: 50px;
  @media(max-width: 798px) {
    margin-top: 0;
  }
}
.interview-card:nth-child(2n) {
  margin-bottom: 50px;
  @media(max-width: 798px) {
    margin-bottom: 0;
  }
}

/* 画像 */
.interview-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* タイトル（赤いボーダー） */
.interview-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 16px 20px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--recruit-color);
  font-family: "Noto Sans JP";
}
.interview-title br + br , .recruit-sub-profile-comment br + br{
  display: none;
}

/* メタ情報 */
.interview-meta {
  padding: 12px 20px 0;
  color: var(--recruit-color);
  font-weight: 700;
}
.interview-meta .interview-dept {
  margin: 0 0 4px 0;
  font-size: 0.95rem;
}
.interview-meta .interview-profile {
  margin: 0 0 16px 0;
  font-size: 0.95rem;
  color: #333; /* 読みやすさのため本文色に */
}

/* ボタン */
.interview-action {
  margin: 0;
  padding: 0 20px 20px;
  margin-top: auto;
}

.interview-btn {
  position: relative;
  display: inline-block;
  padding: 12px 56px 12px 20px; /* 右にアイコン分の余白 */
  border: 1px solid var(--recruit-color);
  border-radius: 999px;
  color: var(--recruit-color);
  font-weight: 700;
  text-decoration: none;
  transition: 0.2s ease;
  background: #fff;
}

.interview-btn::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  background-image: url("../images/common/icon-r003.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.interview-btn:hover::after {
  filter: brightness(0) invert(1);
}

.interview-btn:hover {
  background: var(--recruit-color);
  color: #fff;
  border-color: var(--recruit-color);
}

/* *************************************
// リクルートのコンタクト
************************************* */
.recruit-contact {
  background: var(--recruit-color);
}
.recruit-btn2 {
  background: var(--recruit-color);
}
.charm-title02 {
  color: #fff;
  font-size: 2.3rem;
  @media(max-width: 798px) {
    font-size: 2.0rem;
  }
}
.charm-badge02 {
  background: #fff;
  color: var(--recruit-color);
  display: inline-block;
  margin: 20px 0;
  padding: 0;
}
.contact__tel-textr {
  color: var(--recruit-color);
}

/* *************************************
// 会社概要
************************************* */
.company_message {
  padding-top: 60px;
}
.p002 .en {
  color: var(--main-color);
}
.company_message .title {
  text-align: center;
}
.message-title {
  font-size: 1.8rem;
  font-weight: 900;
  padding-bottom: 30px;
  max-width: 100%;
  margin: 0 auto;
  @media(max-width: 798px) {
   font-size: 1.2rem;
   text-align: center;
  }
}
.message-title span {
  padding-left: 30px;
  @media(max-width: 798px) {
    padding-left: 0;
  }
}
.top-mesage {
  padding-top: 30px;
  text-align: end;
}
.company_profile.p004 {
  background: var(--base-color);
}

.company_profile .inner.wrap {
  width: min(100%, 1040px);
  margin-inline: auto;
  padding: 0 20px;
}

.company_profile .title {
  gap: 16px;
  margin-bottom: 28px;
}

.company_profile .title .jp {
  margin: 0;
  font-size: clamp(22px, 2.5vw, 35px);
  font-weight: 700;
  color: var(--main-color);
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 10px;
}
/* .company_profile .title .jp::after{
	content:"";
	position:absolute;
	left:0; bottom:0;
	width:48px; height:3px;
	background:linear-gradient(90deg, var(--main-color), transparent 80%);
	border-radius:4px;
  }  */

.company_profile .title .en {
  font-size: clamp(12px, 1.6vw, 20px);
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
#company_message .two_in_one {
  align-items: center;
  @media(max-width: 1250px) {
    flex-direction: column;
  }
}
#company_message .two_in_one > div.left , #company_message .two_in_one > div.right{
  @media(max-width: 1250px) {
    width: 100%;
  }
}
#company_message .two_in_one .image {
  @media(max-width: 1250px) {
  width: 90%;
  margin-left: auto;
  }
}

.p002 .two_in_one .company-message__img {
  height: 70%;
}
.company_profile .two_column {
  width: 100%;
  border-spacing: 0;
  background: #fff;
  border-collapse: separate;
  overflow: hidden;
  border-spacing: 0px 4px;
}

.company_profile .two_column th,
.company_profile .two_column td {
  padding: 18px 20px;
  vertical-align: top;
  font-size: clamp(14px, 1.6vw, 16px);
  border-bottom: 1px solid var(--main-color);
}

.company_profile .two_column th {
  width: 28%;
  background: var(--main-color);
  color: #fff;
  font-weight: 700;
}

.company_profile .two_column td {
  color: var(--text-color);
}

.company_profile .two_column td br {
  line-height: 2;
}
.company-table {
  background: #fff;
  padding: 30px;
}

@media (max-width: 720px) {
  .company_profile .title {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .company_profile .two_column {
    border-radius: 12px;
  }
  .company_profile .two_column thead {
    display: none;
  }

  .company_profile .two_column tr {
    display: block;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  .company_profile .two_column tr:last-child {
    border-bottom: none;
  }

  .company_profile .two_column th {
    display: block;
    width: auto;
    border-bottom: none;
    background: transparent;
    padding: 14px 16px 6px;
    color: var(--sub-color);
    font-size: 12px;
    letter-spacing: 0.06em;
  }

  .company_profile .two_column td {
    display: block;
    padding: 0 16px 16px;
    border-bottom: none;
    background: transparent !important;
    position: relative;
  }
}

.company_profile .two_column td a {
  color: var(--main-color);
  text-decoration: none;
  border-bottom: 1px dashed
    color-mix(in srgb, var(--main-color) 60%, transparent);
}
.company_profile .two_column td a:hover {
  text-decoration: underline;
}

/* 沿革 */

.company_history {
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    radial-gradient(circle, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 100% 100%, 5px 5px;
  background-color: var(--main-color);
}

.company_history .inner.wrap {
  width: min(100%, 1040px);
  margin-inline: auto;
  padding: 0 20px;
}

.company_history .jp {
  color: #fff;
  font-size: clamp(22px, 2.5vw, 35px);
}
.company_history .en {
  color: #f3f3f3;
  font-size: clamp(12px, 1.6vw, 20px);
  position: relative;
  z-index: 10;
}

.company_history .two_column {
  width: 100%;
  background-color: #fff;
  border-collapse: separate;
  border-spacing: 0;
  padding: 8px 0;
  position: relative;
  overflow: hidden;
  --date-col: 180px;
  --line-x: calc(var(--date-col) + 20px);
  --line-color: color-mix(in srgb, var(--main-color) 45%, #0000 55%);
  --dot-bg: #fff;
}

.company_history .two_column tbody {
  position: relative;
}

.company_history .two_column::before {
  content: "";
  position: absolute;
  left: var(--line-x);
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(var(--line-color), var(--line-color));
  opacity: 0.6;
}

.company_history .two_column tr {
  display: grid;
  grid-template-columns: var(--date-col) 1fr;
  column-gap: 40px;
  align-items: center;
  position: relative;
  padding: 16px 20px;
}

.company_history .two_column tr::before {
  content: "";
  position: absolute;
  left: var(--line-x);
  top: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--main-color);
}

.company_history .two_column tr:last-child {
  margin-bottom: 8px;
}

.company_history .two_column th,
.company_history .two_column td {
  border: 0;
  padding: 0;
  color: var(--text-color);
  font-size: clamp(14px, 1.6vw, 16px);
}

.company_history .two_column th {
  justify-self: center;
  text-align: center;
  font-weight: 700;
  color: #fff;
  padding: 10px;
  width: 135px;
  background: var(--sub-color);
  line-height: 1.4;
  /* バッジ感を出したいときは以下をON
	background: color-mix(in srgb, var(--main-color) 10%, #fff 90%);
	padding: 6px 10px;
	border-radius: 999px;
	*/
}

.company_history .two_column td {
  padding: 12px 16px;
}

.company_history .two_column tr td {
  background: var(--base-color);
}

@media (hover: hover) {
  .company_history .two_column tr:hover td {
    background: color-mix(in srgb, var(--main-color) 10%, #fff 90%);
    transition: background 0.25s ease;
  }
}

@media (max-width: 720px) {
  .company_history .two_column {
    --date-col: 120px;
    --line-x: 16px;
    border-radius: 12px;
  }

  .company_history .two_column::before {
   
  }

  .company_history .two_column tr {
    grid-template-columns: 1fr;
    padding: 16px 16px 16px 32px;
    row-gap: 6px;
  }

  .company_history .two_column tr::before {
    left: 16px;
  }

  .company_history .two_column th {
    justify-self: start;
    text-align: left;
    background: transparent;
    color: #333;
  }

  .company_history .two_column td {
    padding: 10px 12px;
  }
}

.company_history .two_column td strong {
  color: var(--sub-color);
}
.company_history .two_column td a {
  color: var(--main-color);
  text-decoration: none;
  border-bottom: 1px dashed
    color-mix(in srgb, var(--main-color) 60%, transparent);
}
.company_history .two_column td a:hover {
  text-decoration: underline;
}
.philosophy-subtitle {
  text-align: center;
  font-weight: bold;
  margin-bottom: 20px;
  font-size: 1.4rem;
  @media(max-width: 798px)
  {
    padding: 0 15px;
    font-size: 1.3rem;
  }
}
.philosophy-text {
  text-align: center;
  @media(max-width: 798px) {
    padding: 0 15px;
  }
}
.p003 .philosophy-title {
  margin-bottom: 10px;
}
.bg_black {
  background-image: url(../images/top/top-slider02.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.bg_black::before {
  opacity: 0.7;
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    radial-gradient(circle, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 100% 100%, 5px 5px;
  background-color: var(--main-color);
}
/* アクセス */
.company-access {
  background: #fff;
  background-image: repeating-linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.06) 0,
      rgba(0, 0, 0, 0.06) 1px,
      transparent 1px,
      transparent 24px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.06) 0,
      rgba(0, 0, 0, 0.06) 1px,
      transparent 1px,
      transparent 24px
    );
  background-size: 20px 20px, 20px 20px;
  padding: 60px 0;
}
.company-access .title .jp {
  color: var(--main-color);
  font-size: clamp(22px, 2.5vw, 35px);
  font-weight: bold;
}
.company-access .title .en {
  color: var(--text-color);
  font-size: clamp(12px, 1.6vw, 20px);
  font-weight: bold;
}
.company-access .title {
  text-align: center;
  margin-bottom: 40px;
}
.access {
  display: grid;
  gap: 40px;
}
.access-block {
  background: #fff;
  border: 1px solid #e5e5e5;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
}
.access-title {
  margin: 0;
  padding: 14px 18px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  background: var(--main-color);
}
.access-map {
  aspect-ratio: 16 / 9;
  background: #f1f1f1;
}
.access-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.access-info {
  padding: 14px 18px 20px;
}
.access-address {
  margin: 0 0 8px 0;
  font-weight: 700;
}
.access-telfax {
  margin: 0;
}
.access-telfax a {
  color: var(--main-color);
  text-decoration: none;
}
.access-telfax a:hover {
  text-decoration: underline;
}
.access-area {
  margin-top: 10px;
  padding: 15px;
  background: var(--base-color);
}
.access-area__total {
  margin: 0 0 6px 0;
  font-weight: 700;
  border: 1px solid var(--main-color);
  padding: 5px;
  display: inline-block;
}
.access-area__list {
  margin: 0;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}
.access-area__list li {
  list-style: disc;
  line-height: 1.7;
  padding: 0 5px;
}

/* 本社は1カラム、支店は2カラム（PC） */
.access-block--hq {
  grid-column: 1 / -1;
}
.access-branches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 767px) {
  .company-access {
    padding: 40px 0;
  }
  .access-branches {
    grid-template-columns: 1fr;
  }
}

/* *************************************
   各事業の共通パーツ
  ************************************* */
.all-business .section-title {
  line-height: 1.4;
}
.breadcrumb {
  font-size: 0.95rem;
  margin: 16px auto;
  width: min(100%, 1040px);
  padding: 0 20px;
  color: #666;
}
.breadcrumb a {
  color: var(--main-color);
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.breadcrumb span {
  margin: 0 6px;
  color: #999;
}

.dept-title {
  margin: 0 0 16px;
  font-size: clamp(18px, 2.2vw, 24px);
  color: var(--main-color);
  font-weight: 800;
  letter-spacing: 0.02em;
  position: relative;
}
.dept-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 10px;
  background: linear-gradient(90deg, var(--main-color), rgba(0, 0, 0, 0));
  border-radius: 3px;
}
.dept-summary,
.dept-offers,
.dept-specific,
.dept-gallery {
  padding: 40px 0;
  background: #fff;
}
.features-badges {
  list-style: none;
  margin: 24px auto 0;
  padding: 0;
  display: flex;
  gap: 28px 24px;
  
  justify-content: center; /* 余った左右のスペースで中央寄せ */
  @media(max-width: 798px) {
    flex-wrap: wrap;
  }
}

/* タブレットは2列で中央寄せ、スマホは1列 */
@media (max-width: 1024px) {
  .features-badges {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
    justify-content: center;
  }
}
@media (max-width: 767px) {
  .features-badges {
    grid-template-columns: 1fr;
  }
}
.dept-peers {
  padding: 80px 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  isolation: isolate;
}
.dept-peers::before {
  opacity: 0.5;
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    radial-gradient(circle, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 100% 100%, 5px 5px;
  background-color: #333;
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
}
.dept-peers > * {
  position: relative;
  z-index: 1;
}
.peers01 {
  background-image: url(../images/sheetmetal/sheetmetal10.webp);
}
.peers02 {
  background-image: url(../images/swithboad/swich07.webp);
}
.peers03 {
  background-image: url(../images/maintenance/maintenance03.webp);
}
.peers04 {
  background-image: url(../images/const/const12.webp);
}
#content .dept-lead .section-title__en,
#content .dept-features .section-title__en,
#content .dept-cases .section-title__en,
#content .dept-equipment .section-title__en,
#content .dept-peers .section-title__en {
  font-size: 1.2rem;
}
#content .dept-features .section-title__en,
#content .dept-features .section-title__jp,
#content .dept-peers .section-title__en,
#content .dept-peers .section-title__jp {
  color: #fff;
}

.dept-lead {
  padding: 80px 0;
  background: #fff;
  position: relative;
  /* background-image: repeating-linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.06) 0,
      rgba(0, 0, 0, 0.06) 1px,
      transparent 1px,
      transparent 24px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.06) 0,
      rgba(0, 0, 0, 0.06) 1px,
      transparent 1px,
      transparent 24px
    );
  background-size: 20px 20px, 20px 20px; */
}
/* .dept-lead::before {
  position: absolute;
  content: "";
  bottom: 0;
  right: 0;
  width: 230px;
  height: 230px;
  display: inline-block;
  background-image: url(../images/top/aiso02.png);
  background-size: cover;
  background-position: center;
  transform: translate(-30%, 30%);
  z-index: 1;
  @media (max-width: 798px) {
    content: none;
  }
  }
  @media screen and (min-width:799px) and ( max-width:1200px) {
    .dept-lead::before {
      width: 150px;
      height: 150px;

    }
  } */
@media(max-width:798px) {
  .dept-features {
    position: relative;
  }
  .dept-features::after {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  width: 130px;
  height: 130px;
  display: inline-block;
  background-image: url(../images/top/aiso02.png);
  background-size: cover;
  background-position: center;
  transform: translate(-10%, -40%);
  }
}
.dept-lead .wrap {
  width: min(94%, 1040px);
  margin: 0 auto;
  padding: 0 20px;
  max-width: 880px;
  text-align: center;
  background: rgba(34, 107, 193, 0.1);
  padding: 31px 30px;
  @media(max-width:798px) {
    text-align: left;
  }
}
.dept-lead .lead-text {
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: left;
  color: #333;
  width: fit-content;
  margin-inline: auto !important;
  @media(min-width:797px) {
    margin: 0;
    font-size: 1rem;
  }
}

.description-item-text br {
  @media(max-width: 798px) {
    display: none;
  }
}
.dept-content {
  padding: 20px 0 40px;
  background: #fff;
}
.dept-content .wrap {
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: 0 20px;
}
.dept-content h3 {
  margin: 20px 0 10px;
  font-size: 1.2rem;
  color: var(--main-color);
  font-weight: 800;
}
.dept-content p {
  margin: 0 0 12px;
  line-height: 1.9;
  color: #333;
}
.dept-content ul {
  margin: 0 0 12px;
  padding-left: 1.2em;
  line-height: 1.9;
}

.section-title {
  text-align: center;
  margin: 0 0 24px;
}
.section-title__en {
  margin: 0;
  font-size: 1.1rem;
  color: #333;
  letter-spacing: 0.12em;
}
.section-title__jp {
  font-weight: bold;
  padding: 0 15px 20px 15px;
  max-width: 980px;
  margin: 0 auto;
  font-size: 1.5rem;
  color: var(--main-color);
  @media(max-width: 798px) {
    font-size: 1.2rem;
    padding: 0;

  }
}
@media(max-width:798px) {
.section-title__jp p br + br {
  display: none;
}
}
.dept-summary .wrap,
.dept-offers .wrap,
.dept-specific .wrap,
.dept-gallery .wrap,
.dept-peers .wrap {
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: 0 20px;
}
.dept-points {
  margin: 0;
  padding-left: 1.2em;
  line-height: 1.9;
  list-style: none;
}
.dept-points li {
  position: relative;
  padding-left: 1.1em;
}
.dept-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 6px;
  height: 6px;
  background: var(--main-color);
  transform: rotate(45deg);
}
.dept-list {
  margin: 0;
  padding-left: 1.2em;
  line-height: 1.9;
  list-style: none;
}
.dept-list li {
  position: relative;
  padding-left: 1.2em;
}
.dept-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border: 2px solid var(--main-color);
  border-radius: 50%;
}
.dept-specific__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 767px) {
  .dept-specific__grid {
    grid-template-columns: 1fr;
  }
}
.dept-box {
  background: #fff;
  padding: 18px;
  border-radius: 10px;
  border-left: 4px solid var(--main-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.dept-box h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  color: #333;
  font-weight: 800;
}
.dept-box ul {
  margin: 0;
  padding-left: 1.2em;
}
.dept-box .ordered {
  margin: 0;
  padding-left: 1.2em;
}
.gallery-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0;
  margin: 0;
}
@media (max-width: 767px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.gallery-grid .ph {
  background: #e9eef4;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.gallery-grid figcaption {
  font-size: 0.9rem;
  text-align: center;
  margin-top: 6px;
  color: #333;
}

.peer-cards {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0;
  margin: 0;
}
@media (max-width: 767px) {
  .peer-cards {
    grid-template-columns: 1fr;
    margin: 0 20px;
  }
}
.peer-cards li {
  background: repeating-linear-gradient(
      0deg,
      var(--accent-ink) 0,
      var(--accent-ink) 1px,
      #fff 1px,
      #fff 24px
    ),
    repeating-linear-gradient(
      90deg,
      var(--accent-ink) 0,
      var(--accent-ink) 1px,
      #fff 1px,
      #fff 24px
    );
  background-size: 24px 24px, 24px 24px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.peer-cards li:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}
.peer-thumb {
  aspect-ratio: 3 / 2;
  background: #f3f3f3;
  overflow: hidden;
}
.peer-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.peer-title {
  margin: 8px 0 0;
  font-weight: 700;
  color: #555;
  text-align: center;
  font-size: 1.3rem;
}
.peer-title span {
  font-size: 1rem;
}
.advantage-intro .wrap {
  max-width: 780px;
  background: rgba(34, 107, 193, 0.1);
  margin: 0 auto;
  padding: 20px 0px;
  
}
.advantage-intro {
  background: #fff;
  padding: 60px 0 60px;
  text-align: center;
  /* background-image: repeating-linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.06) 0,
      rgba(0, 0, 0, 0.06) 1px,
      transparent 1px,
      transparent 24px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.06) 0,
      rgba(0, 0, 0, 0.06) 1px,
      transparent 1px,
      transparent 24px
    );
  background-size: 20px 20px, 20px 20px; */
}
.page_single:has(> .advantage-intro) {
  padding: 0;
}

.advantage-intro__title {
  margin: 0 0 12px;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 800;
  color: var(--main-color);
}
#content .advantage-intro__lead {
  color: #333;
  line-height: 1.9;
  font-size: 1.2rem;
  margin: 0 auto;
  text-align: left;
  max-width: 100%;
  width: fit-content;
  
  @media(max-width: 798px) {
    padding: 0 15px;
    font-size: 1rem;
    text-align: start;
  }
}
.advantage-flow {
  list-style: none;
  display: flex;
  gap: 12px;
  padding: 0;
  margin: 10px 0 50px;
  flex-wrap: wrap;
  justify-content: center;
}
.advantage-flow li {
  position: relative;
  padding: 6px 14px;
  background: var(--main-color);
  color: #fff;
  border-radius: 999px;
  width: 100px;
}

.advantage-cards {
  /* background: #fff;
  padding: 60px 0 60px 0;
  border-top: 1px solid #f5f5f5;
  background-image: repeating-linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.06) 0,
      rgba(0, 0, 0, 0.06) 1px,
      transparent 1px,
      transparent 24px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.06) 0,
      rgba(0, 0, 0, 0.06) 1px,
      transparent 1px,
      transparent 24px
    );
  background-size: 20px 20px, 20px 20px; */
  @media(max-width: 798px) {
    padding: 0;
  }
}

.advantage-card-list {
  list-style: none;
  /* display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px; */
  padding: 0;
  margin: 0;
}
@media (max-width: 767px) {
  .advantage-card-list {
    grid-template-columns: 1fr;
  }
}
.advantage-card {
  margin-bottom: 40px;
  position: relative;
  opacity: 0;
  transform: translateY(40px);

  transition: opacity 0.8s ease, transform 0.8s ease;
  @media (max-width: 798px) {
    /* background: #fff;
    background-image: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.06) 0, rgba(0, 0, 0, 0.06) 1px, transparent 1px, transparent 24px), repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.06) 0, rgba(0, 0, 0, 0.06) 1px, transparent 1px, transparent 24px);
    background-size: 20px 20px, 20px 20px;
    margin-bottom: 0; */
  }
}

.advantage-card::before {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(0 10%, 100% 0%, 100% 90%, 0% 100%);
  background: var(--main-color);
  top: 0;
  left: 0;
  z-index: -1;
}
.advantage-card.is-visible {
  opacity: 1;
  transform: translateY(0);
  padding-top: 80px;
  padding-bottom: 80px;
  @media(max-width:798px) {
    padding-bottom: 40px;
  }
}
.advantage-card:nth-child(1) {
  transition-delay: 0.1s;
  padding-right: 10%;
  @media(max-width: 798px) {
    padding-right: 0;
  }
}
.advantage-card:nth-child(2) {
  transition-delay: 0.2s;
  padding-left: 10%;
  @media(max-width: 798px) {
    padding-left: 0;
  }
}
.advantage-card:nth-child(3) {
  transition-delay: 0.3s;
  padding-right: 10%;
  @media(max-width: 798px) {
    padding-right: 0;
  }
}
.advantage-card:nth-child(4) {
  transition-delay: 0.4s;
  padding-left: 10%;
  @media(max-width: 798px) {
    padding-left: 0;
  }
}
.advantage-card__link {
  display: flex;
  flex-direction: row;
  align-items: center;

  text-decoration: none;

  @media (max-width: 798px) {
    flex-direction: column;
  }
}
.advantage-card:nth-child(even) .advantage-card__link {
  flex-direction: row-reverse;
  @media (max-width: 798px) {
    display: block;
  }
}
.advantage-card__media {
  position: relative;
  flex: 0 0 50%;
  aspect-ratio: 16 / 10;
}
.advantage-card__media img {
  object-fit: cover;
}

@media (max-width: 767px) {
  .advantage-card__media {
    width: 100%;
    flex-basis: auto;
    aspect-ratio: 16 / 9;
  }
}
.advantage-card__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.advantage-card__thumb.placeholder {
  background: #e9eef4;
}
.advantage-card__body {
  padding: 18px;
  display: grid;
  gap: 10px;
  align-content: center;
  color: #fff;
  max-width: 570px;
  margin: 0 auto;

}

.advantage-card__title {
  margin: 0;
  font-weight: 600;
  border-bottom: 2px solid #ccc;
  color: #fff;
  font-size: clamp(18px, 2vw, 30px);
  padding-bottom: 10px;
}
.advantage-card__desc {
  margin: 0;
  line-height: 1.8;
  color: #fff;
}
.advantage-intro {
  position: relative;
}
.advantage-intro::before {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  width: 220px;
  height: 220px;
  display: inline-block;
  background-image: url(../images/top/aiso01.png);
  background-size: cover;
  background-position: center;
  transform: translate(-50%, 50%);
  z-index: 1;
  @media (max-width: 798px) {
    width: 150px;
    height: 150px;
    transform: translate(0, 238%);
    z-index: 20;
  }
}
@media (min-width: 799px) and (max-width: 1200px) {
  .advantage-intro::before {
  transform: translate(-50% , 150%);
  }
}
/* advantage内のbtn-more 微調整（余白だけ） */
.advantage-card .btn-more {
  margin: 0 auto;
  padding: 10px 50px 10px 30px;
  background: #fff;
  color: var(--main-color);
}
.advantage-card .btn-more::after {
}
.section-title__en02 {
  color: #333;
}
.section-title__jp02 {
  color: var(--main-color);
  text-shadow: 2px 4px 6px rgb(0, 0, 0, 0.3);
}
.advantage-card .btn-more:hover {
  color: #fff;
  background-color: var(--main-color);
  border: 1px solid #fff;
}
.advantage-card .btn-more:hover::after {
  filter: brightness(0) invert(1);
}
.advantage-empty {
  background: #fff;
  position: relative;
  background-image: repeating-linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.06) 0,
      rgba(0, 0, 0, 0.06) 1px,
      transparent 1px,
      transparent 24px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.06) 0,
      rgba(0, 0, 0, 0.06) 1px,
      transparent 1px,
      transparent 24px
    );
  background-size: 20px 20px, 20px 20px;
  padding: 30px;
}

/* *************************************
  // 事業ページ：新セクション（特徴・事例・設備）
  ************************************* */
.dept-features {
  padding: 80px 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  isolation: isolate;
}
.dept-features::before {
  opacity: 0.5;
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    radial-gradient(circle, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 100% 100%, 5px 5px;
  background-color: var(--main-color);
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
}
.dept001 {
  background-image: url(../images/top/mt-fuji.webp);
}
.dept002 {
  background-image: url(../images/swithboad/swich01.webp);
}
.dept003 {
  background-image: url(../images/maintenance/maintenance04.webp);
}
.dept004 {
  background-image: url(../images/const/const03.webp);
}
.dept-features > * {
  position: relative;
  z-index: 1;
}
.dept-features .wrap {
  max-width: 1200px;
}

/* カード本体 */
.badge {
  text-align: center;
  padding: 16px 14px;
  background: #fff;
  border: 1px solid #eef2f5;
  position: relative;
  counter-increment: num;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
  width: 25%;
  @media(max-width: 798px) {
    width: 100%;
  }
}
.badge:before {
  content: counter(num, decimal-leading);
  display: block;
  width: calc(80 * var(--rem));
  aspect-ratio: 1;
  background-color: var(--main-color);
  color: #fff;
  font-weight: bold;
  position: absolute;
  top: 0;
  left: 0;
  clip-path: polygon(0 0, 0% 100%, 100% 0);
  padding-right: 30px;
  padding-top: 5px;
  font-size: calc(22 * var(--rem));
}

/* まん丸バッジ */
.badge-circle {
  width: min(140px, 45vw);
  aspect-ratio: 1 / 1;
  margin: 0 auto;  
  display: grid;
  place-items: center; 
}
.badge-key {
  display: inline-block;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--main-color);
  font-size: clamp(14px, 1.8vw, 18px);
  line-height: 1.2;
  padding: 0 8px;
  /* 長い日本語でも2行で折り返して中央に */
  text-wrap: balance;
}

/* タイトル＋本文 */
.badge-title {
  margin: 6px 0 6px;
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.5;
  color: var(--sub-color);
  font-weight: bold;
}
.badge-text {
  margin: 0 auto;
  max-width: 36ch;
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  text-align: left;
}
.dept-cases {
  padding: 40px 0;
  background: var(--base-color);
}
.dept-cases .wrap {
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: 0 20px;
}
.case-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 991px) {
  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .case-grid {
    grid-template-columns: 1fr;
  }
}
.case-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
}
.case-card__media {
  aspect-ratio: 4 / 3;
  background: #f3f3f3;
  height: 230px;
}
.case-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.case-card__body {
  padding: 20px 14px 20px;
  text-align: center;
}
.case-card__title {
  display: none;
}
.case-card__text {
  margin: 0;
  font-size: 1.1rem;
  color: #333;
  font-weight: bold;
  line-height: 1.7;
}
.dept-equipment {
  padding: 40px 0;
  background: #fff;
  background-image: repeating-linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.06) 0,
      rgba(0, 0, 0, 0.06) 1px,
      transparent 1px,
      transparent 24px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.06) 0,
      rgba(0, 0, 0, 0.06) 1px,
      transparent 1px,
      transparent 24px
    );
  background-size: 20px 20px, 20px 20px;
}
.dept-equipment .wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.equipment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
@media (max-width: 767px) {
  .equipment-grid {
    grid-template-columns: 1fr;
  }
}
.equipment-media {
  aspect-ratio: 4 / 3;
  background: #f3f3f3;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}
.equipment-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.equipment-list {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 1;
}
@media (min-width: 992px) {
  .equipment-list {
    columns: 2;
    column-gap: 32px;
  }
}
.equipment-list li {
  margin: 0 0 11px;
  padding-left: 1.3em;
  border-bottom: 1px dotted #999;
  padding-bottom: 5px;
  position: relative;
}
.equipment-list li::before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 10px;
  height: 10px;
  position: absolute;
  left: 0;
  top: 24%;
  background: #fff;
  border: 2px solid var(--main-color);
}
/* *************************************
   環境方針
  ************************************* */
.top-environment {
  padding: 80px 20px;
  background-color: #fff;
  background-image: radial-gradient(
    circle,
    color-mix(in oklab, rgb(34, 107, 193, 0.2) 30%, #fff) 1px,
    transparent 1px
  );
  background-size: 7px 7px;
}
.top-environment h2 {
}
.top-enviroment__wrap {
  max-width: 1200px;
  margin: 0 auto;
}
.top-environment .title {
  text-align: center;
  padding: 30px 0;
  line-height: 1.4;
}
.top-environment .jp {
  font-size: 2rem;
  font-weight: bold;
  color: var(--main-color);
  @media(max-width: 798px) {
    font-size: 1.6rem;
  }
}
.top-environment__text {
  padding-bottom: 50px;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
  @media(max-width: 798px) {
    text-align: left;
  }
}
.top-environment__text br {
  @media(max-width: 798px) {
  display: none;
}
}
#content .top-environment__text p {
  margin-bottom: 20px;
}
.job-feature p {
  margin-bottom: 10px;
}
.enviroment-title {
  color: var(--main-color);
  text-align: center;
  padding-bottom: 10px;
  font-size: 1.6rem;
  font-weight: bold;
  position: relative;
  margin-bottom: 20px;
}
.enviroment-title:after {
  content: "";
  display: block;
  width: 50px;
  height: 2px;
  background-color: var(--main-color);
  margin: 10px auto 0;
}
.enviroment-subtitle {
  padding-top: 20px;
  font-weight: bold;
  font-size: 1.4rem;
  @media(max-width: 798px) {
    font-size: 1.1rem;
  }
}
.environment-container {
  margin-inline: auto;
  padding: 80px 0;
}
.environment-container .wrap {
  max-width: 1200px;
}

.environment-title {
  font-size: clamp(1.4rem, 2vw + 1rem, 1.4rem);
  margin: 0.4em 0 0.3em;
  @media(max-width: 798px) {
    font-size: 1rem;
  }
}
.environment-lead {
  color: var(--muted);
  margin: 0 0 8px;
}
.environment-card__actions .btn-more {
  background-color: var(--main-color);
  color: #fff;
}
.environment-card__actions .btn-more::after {
  filter: brightness(0) invert(1);
}
.page-head__img02::after {
  content: none;
}

.environment-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .environment-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .environment-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.environment-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.environment-card__media {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #eaeaea, #f6f6f7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9b9b9b;
  font-weight: 700;
  letter-spacing: 0.08em;
  overflow: hidden;
}
.environment-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: top;
}
.environment-card__body {
  padding: 18px 18px 8px;
}
.environment-card__title {
  font-size: 1.1rem;
  margin: 0 0 6px;
  font-weight: bold;
  color: var(--main-color);
}
.environment-card__meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 12px;
}
.environment-card__text {
  margin: 0 0 12px;
}
.environment-card__actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 0 18px 18px;
}

.environment-btn--ghost {
  background: transparent;
  color: var(--brand);
}
.environment-btn:hover {
  transform: translateY(-1px);
}

.environment-badge {
  display: inline-block;
  border-radius: 6px;
  padding: 2px 8px;
  background: #222;
  color: #fff;
  font-size: 0.75rem;
}

.environment-note {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 18px;
}

/* *************************************
// インタビュー
************************************* */

/* ベース */
.recruit-sub {
  color: #333;
  line-height: 1.8;
  font-family: "Noto Sans JP", sans-serif;
}
.recruit-sub-qa h3 {
  font-family: "Noto Sans JP", sans-serif;
}

/* ヒーロー */
.recruit-sub-hero {
  position: relative;
  overflow: hidden;
  height: 80vh;
  @media(max-width: 798px) {
    height: 50vh;
  }
}
.recruit-sub-profile-text {
  text-align: right;
  margin-top: -50px;
  @media(max-width:798px) {
    margin-top: 0;
  }
}
.recruit-sub-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    radial-gradient(circle, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 100% 100%, 5px 5px;
}
.recruit-sub-hero-media {
  margin: 0;
  height: 100%;
}
.recruit-sub-hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top;
}
.recruit-sub-hero-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top;
}
.recruit-sub-hero-text {
  position: absolute;
  inset: auto 50% 25% 0;
  transform: translateY(50%);
  text-align: center;
  color: #fff;
  @media(max-width:798px) {
    inset: auto 0 20% 0;
    transform: translateY(0);
  }
}
.recruit-sub-hero-text h1 {
  font-size: clamp(1.4rem, 1.4vw, 3rem);
  margin: 0 auto;
  border-bottom: 2px solid #fff;
  padding-bottom: 10px;
  width: 280px;
  letter-spacing: 0.08em;
}
.recruit-sub-hero-text p {
  margin: 0.25rem 0 0;
}
.recruit-sub-hero-overlay {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: clamp(48px, 10vh, 100px);
  background: var(--recruit-color);
  clip-path: polygon(0 100%, 100% 0, 100% 100%, 0% 100%);
}
.peer-subtitle {
  font-size: 1.2rem;
  color: var(--recruit-color);
  text-align: center;
  margin-bottom: 0;
  padding-top: 15px;
}
#content .peer-subtitle {
  margin-bottom: 0;
}

/* プロフィール */
.recruit-sub-profile {
  padding: 24px 10% 8px;
  background: repeating-linear-gradient(
      0deg,
      var(--accent-ink) 0,
      var(--accent-ink) 1px,
      transparent 1px,
      transparent 24px
    ),
    repeating-linear-gradient(
      90deg,
      var(--accent-ink) 0,
      var(--accent-ink) 1px,
      transparent 1px,
      transparent 24px
    );
  background-size: 24px 24px, 24px 24px;
}
.recruit-sub-initial {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 600;
  color: #333;
}
.recruit-sub-initial span {
  font-size: 1.1rem;
  padding-left: 10px;
}
.recruit-sub-meta {
  margin: 0.25rem 0 0;
  font-weight: 600;
}
.recruit-sub-name {
  margin: 0.25rem 0 0;
  opacity: 0.7;
  font-size: 0.95rem;
}

/* QA共通 */
.recruit-sub-qa {
  padding: 30px 0;
}
.recruit-sub-qa .two_in_one > div {
  width: calc(50% - 0px);
  @media(max-width:798px) {
    width: 100%;
  }
}
.recruit-sub-qa .odd {
  flex-direction: row-reverse;
}
.recruit-sub-bar {
  position: relative;
}
.recruit-sub-bar::before {
  content: "";
  display: inline-block;
  position: absolute;
  inset: 0;
  height: 100vh;
  background-color: var(--recruit-color);
  opacity: 0.03;
  z-index: -1;
  clip-path: polygon(0 20%, 100% 0%, 100% 80%, 0% 100%);
}
.recruit-sub-qa-text h3 {
  font-weight: bold;
  font-size: 1.4rem;
  display: inline-block;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--recruit-color);
  margin-bottom: 25px;
}


.recruit-sub-qa img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.recruit-sub-qa-text {
  padding: 0 30px;
  @media(max-width:798px) {
    padding: 0;
  }
}

.recruit-sub-n01 {
  position: relative;
  z-index: 0;
}
.recruit-sub-qa-text h3 {
  padding-bottom: 20px;
}
.recruit-sub-profile-comment {
  padding-top: 50px;
  @media(max-width:798px) {
    padding-top: 0;
  }
}
.recruit-sub-profile-comment h3 {
  font-size: 2rem;
  font-weight: 600;
  display: inline-block;
  z-index: 1;
  padding-left: 100px;
  position: relative;
  color: var(--recruit-color);
  font-family: "Noto Sans JP", sans-serif;
  @media(max-width:798px) {
    font-size: 1.2rem;
    padding-left: 55px;
    text-align: start;
  }
}
.recruit-sub-profile-comment h3::before {
  content: "";
  display: inline-block;
  width: 80px;
  height: 1px;
  top: 30px;
  left: 0;
  position: absolute;
  color: var(--recruit-color);
  border: solid 1px;
  @media(max-width:798px) {
    width: 40px;
  }
}

.recruit-inteview-subtitle {
  color: #fff;
  font-weight: bold;
  font-size: 3.2rem;
  position: relative;
  z-index: 10;
  @media(max-width:798px) {
    font-size: 1.4rem;
     }
}
.recruit-inteview-title {
  font-size: 1.8rem;
  font-weight: bold;
}
.recruit-sub-qa-pa {
  padding-bottom: 20px;
}
.recruit-sub-qa-text p br {
  @media(max-width: 798px){
  display: none;
  }
}
.recruit-sub-n05 {
  position: relative;
}
.recruit-sub-n05::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  background: url("../images/recruit/recruit-il06.png") no-repeat center/cover;
  z-index: -1;
  height: 250px;
  width: 250px;
  transform: translate(-150%, 95%);
  @media (max-width: 798px) {
    width: 250px;
    height: 180px;
    opacity: 0.3;
    transform: translate(0, 350%);
  }
}

/* フェード */
.recruit-sub-fade.hidden {
  opacity: 0;
  transform: translateY(36px);
  transition: all 0.7s ease-out;
}
.recruit-sub-fade.show {
  opacity: 1;
  transform: none;
}

/* クロージング */
.recruit-sub-closing {
  position: relative;
  text-align: center;
}
.recruit-sub-bimg {
  background-color: var(--recruit-color);
  height: 50vh;
  position: relative;
  @media (max-width: 798px) {
    height: 30vh;
  }
}

.recruit-sub-closing img {
  width: 100%;
  display: block;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 100px), 0 100%);
  position: relative;
  filter: brightness(0.8);
}
.recruit-sub-btn-wrap {
  padding: 60px 0 0px;
  text-align: center;
}

.recruit-sub-btn:hover {
  background: color-mix(in oklab, var(--recruit-color) 18%, white);
}
#content .section-title__en-r {
  margin-bottom: 0;
}
.section-title__en-r {
  color: #fff;
  font-size: 1.2rem;
}
.section-title__jp-r {
  color: #fff;
  font-size: 2rem;
  @media(max-width:798px) {
    font-size: 1.4rem;
  }
}
.recruit-other {
  padding: 80px 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  isolation: isolate;
  background-image: url(../images/recruit/recruit02.webp);
}
.recruit-other:before {
  opacity: 0.5;
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    radial-gradient(circle, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 100% 100%, 5px 5px;
  background-color: #333;
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
}

@media (max-width: 900px) {
  .recruit-sub-two .recruit-sub-flex {
    flex-direction: column;
    gap: 16px;
  }
  .recruit-sub-flex img {
    max-width: 100%;
  }
  .recruit-sub-profile {
    text-align: center;
    padding: 36px 6%;
  }
  .recruit-sub-hero-text h1 {
    letter-spacing: 0.05em;
  }
}
@media (max-width: 480px) {
  .recruit-sub-qa {
    padding: 16px 6% 24px;
  }
}
.single-environment {
  max-width: 980px;
  margin-inline: auto;
  padding: 80px 0;
  @media(max-width: 798px) {
    padding: 80px 15px;
  }
}
img.alignright {
  display: block;
  margin: 0 0 0 auto;
} /* 配置位置 右 */
img.alignleft {
  display: block;
  margin: 0 auto 0 0;
} /* 配置位置 左 */
img.aligncenter {
  display: block;
  margin: 0 auto;
} /* 配置位置 中央 */
.single-environment .date {
  font-size: 1.3rem;
}
.single-environment .title {
  font-size: 2rem;
  font-weight: bold;
  color: var(--main-color);
}
form {
  padding: 80px 0;
}

#main-text {
  opacity: 0;
  transition: opacity 5s ease; 
}

#main-text.visible {
  opacity: 1;
}
.recruit-sub-fade.fade-left.hidden {
  opacity: 0;
  transform: translateX(-50px);
}
.recruit-sub-fade.fade-left.show {
  opacity: 1;
  transform: none;
}
.top-sub-fade.hidden {
  opacity: 0;
  transform: translateY(36px);
  transition: all 1s ease-out;
}

.top-sub-fade.show {
  opacity: 1;
  transform: none;
}
/* *************************************
// インタビュー
************************************* */

.description-item {
  padding: 60px 20px;
  background: #fff;
  /* background-image: repeating-linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.06) 0,
      rgba(0, 0, 0, 0.06) 1px,
      transparent 1px,
      transparent 24px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.06) 0,
      rgba(0, 0, 0, 0.06) 1px,
      transparent 1px,
      transparent 24px
    ); */
  background-size: 20px 20px, 20px 20px;
}
.description-item .wrap {
  max-width: 1040px;
  margin: 0 auto;
}
.description-item-card {
  display: flex;
  align-items: end;
  padding: 20px;
}

.description-item-img {
  flex: 1 1 40%;
}
.description-item-img img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.description-item-body {
  flex: 1 1 68%;
  padding: 20px;
  background-color: var(--main-color);
  margin-left: -20px;
  margin-bottom: -20px;
  position: relative;
  z-index: 2;
  border: 4px double #fff;
}
.description-item-body:nth-child(even) {
  margin-right: -20px;
}
.description-item-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 12px;
  color: #fff;
  border-bottom: 2px solid #fff;
  padding-bottom: 10px;
  @media(max-width: 798px) {
    font-size: 1.1rem;
  }
}
.description-item-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #fff;
  @media(max-width: 798px) {
    text-align: left;
  }
}

.description-item-card:nth-child(even) {
  flex-direction: row-reverse;
}

@media (max-width: 768px) {
  .description-item-card {
    flex-direction: column;
    text-align: center;
  }

  .description-item-card:nth-child(even) {
    flex-direction: column;
  }

  .description-item-img,
  .description-item-body {
    flex: 1 1 100%;
  }
}
.description-item-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
#content .description-item .section-title__en {
  font-size: 1.1rem;
}

/* *************************************
// 募集職種タブ
************************************* */

.job-tabs input[type="radio"] {
  display: none;
}

.job-tab-icon {
  display: none;
}

/* アクティブ状態：黒いアンダーバーのみ */
.job-tab[aria-selected="true"] {
  border-bottom: 3px solid #2f4858;
}

/* 設備工事課だけ薄いオレンジ色の背景 */
.job-tab.job-tab--construction {
  background: #ffd8b1 !important;
}

/* パネルの表示制御 */
.job-panel {
  display: none;
}

.job-panel.is-active {
  display: block;
}

/* *************************************
// プライバシーポリシー
************************************* */

.privacy_in h3 {
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--main-color);
  padding-bottom: 10px;
  border-bottom: 2px dotted #999;
  padding-bottom: 10px;
  margin-bottom: 20px;
}
.about-message-text {
  max-width: 180%;
  margin:  0 auto;
}
.desk-only {
  display: block; 
  @media(max-width: 798px) {
    display: none;
  }
}
/* お問合せメール */
.company-mail__contact {
  display: none;
}
tr:has(select option[value="株式会社"]:checked) ~ .company-mail__contact,
tr:has(select option[value="その他法人"]:checked) ~ .company-mail__contact {
  display: table-row;
}
table.mail_form tr.contact-tel__mark  th.required:after{
  display: none;
}
.contact-select__mark:has(input[value="電話"]:checked) ~ tr.contact-tel__mark  th.required:after{
 display: inline-block;
}
.job-panel__text p{
margin-bottom: 10px;
}
.sp-only {
  display: none;
  @media(max-width:798px) {
    display: block;
  }
}
.pc-only {
  display: block;
  @media(max-width: 798px) {
    display: none;
  }
}
.kouji-brtxt br + br + br {
  display: none;
}
.iji-brtxt br + br , .hi-betxt br +br , .ban-t-txt br + br{
  display: none;
}@media(max-width:798px) {
  .iji-brnone br , .hi-brnone br , .ban-brnone br , .ba-t-txt br {
    display: none;
  }
}
.mv__scroll {
  position: absolute;
  top: 100%;
  left: 50px;
  transform: translate(-50%, -50%);
  z-index: 1;

}
.scroll-down:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: calc(-4 * var(--rem));
  width: calc(13 * var(--rem));
  aspect-ratio: 1;
  background-color: #fff;
  animation: circlemove 1.6s 
ease-in-out infinite, cirlemovehide 1.6s 
ease-out infinite;
  z-index: 1;
  rotate: 45deg;
  @media(max-width: 798px) {
    left: calc(-32 * var(--rem));
  width: calc(10 * var(--rem));
  }
}
.scroll-down:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: calc(2 * var(--rem));
  width: 1px;
  height: calc(140 * var(--rem));
  background-color: #fff;
  @media (width < 768px) {
    height: calc(66 * var(--rem));
    left: calc(-27 * var(--rem));
  }
}
.scroll-down p {
  position: absolute;
  left: -11px;
  bottom: calc(147 * var(--rem));
  height: max-content;
  color: #000;
  font-size: calc(16 * var(--rem));
  writing-mode: vertical-rl;
  color: #fff;
  font-family: "Helvetica Neue", Helvetica, Arial, "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Meiryo UI", "メイリオ", Meiryo, sans-serif;
  @media (width < 768px) {
    bottom: calc(80 * var(--rem));
    font-size: 0.9rem;
    left: -39px;
  }
}
@keyframes circlemove {
  0% {
    bottom: calc(140 * var(--rem));
  }
  100% {
    bottom: 0px;
  }
}
@media (width < 768px) {
  @keyframes circlemove {
    0% {
      bottom: calc(80 * var(--rem));
    }
    100% {
      bottom: 0px;
    }
  }
}

@keyframes cirlemovehide {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  80% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
  }
}
/* ヘッダーのコンタクトレスポンシブ */
@media(max-width:1030px) {
  .h001.header nav ul.global-nav > li:last-child {
    justify-content: center;
    padding-top: 20px;
  }
  .h001.header nav ul.global-nav > li:last-child a {
    background-color: var(--main-color);
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    display: block;
    width: 100%;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 0;
    padding-right: 0;
  }

}

/* fixedメニュー -------------------------------------------------------- */

.fix_menu {
  display: none;
}

@media (width < 768px) {
  .fix_menu {
    display: flex;
    position: absolute;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: transparent;
    line-height: 1.5;
    z-index: 998;
  }
  .fix_menu > * {
    width: 50%;
    border-bottom: none;
  }
  .fix_menu img {
    max-width: 30px;
    width: auto;
    height: 1.3em;
    object-fit: contain;
    margin-right: 3px;
  }

  .fix_menu a.tel-box {
    padding: 10px 0;
    background: #fff;
    color: #333;
    border-top: 1px solid #ccc;
  }
  .fix_menu a.tel-box .number {
    display: flex;
    align-items: center;
    font-size: min(22px, 6vw);
    font-weight: bold;
    justify-content: center;
    gap: 5px;
  }
  .fix_menu a.tel-box .time {
    font-size: 12px;
    display: block;
    text-align: center;
  }

  .fix_menu a.contact_box {
    background: var(--main-color);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    gap: 5px;
  }
  
  /* リクルートページのみcontact_boxの背景色を変更 */
  .fix_menu a.recruit-contact-box {
    background: var(--recruit-color);
  }
}
.btn-environ a{
  padding: 10px 20px;
  border: 4px double lightblue;   
}
.btn-environ a:hover {
  background-color: lightblue;
  border: 4px double #fff;
}

.page-head__img:before{
  content: "";
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), radial-gradient(circle, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 100% 100%, 5px 5px;
  position: absolute;
  inset: 0;
}
.ban-top-title br + br{
  display: none;
}
@media(max-width:798px) {
  .ban-t-br br {
    display: none;
  }
}
.form__return {
  border: 1px solid var(--main-color);
  width: fit-content;
  padding: 0.5em 3em;
  border-radius: 2em;
  white-space: nowrap;
  transition: all 0.5s;
  color: var(--main-color);
  cursor: pointer;
}
.form__return:hover {
  background-color: rgba(34,107,193,0.1);
}
.form__submit-comtaner {
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: flex-start;
  margin-top: 30px;
}
.form__submit-comtaner .btn001 {
 margin: 0;
}
.contact__tel-time {
  width: fit-content;
  margin: 0 auto;
  text-align: left;
}


body.menu-open {
  overflow: hidden;
} 