@charset "UTF-8";

body {
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans JP','Zen Kaku Gothic New', sans-serif;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

ul {
  text-decoration: none;
  list-style: none;
}

h1 {
  margin: 0;
  line-height: normal; 
}

h2 {
  margin: 0;
}

dd {
  margin: 0;
}

img {
  max-width: 100%; /* 親要素の幅を超えないようにする */
  height: auto;    /* 縦横比を維持する */
}

a {
  color: #000;
  text-decoration: none; 
}

a:link,
a:visited,
a:hover,
a:active {
  text-decoration: none; 
}

.company-name {
  font-size: 24px;
}

.company-name span,
.footer-logo span {
  font-size: 30px;
  margin-left: 3px;
}

.header {
  height: 90px;
  z-index: 100;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}

.scrolled {
  background-color: #fff;
}

.scrolled .header-nav {
      color: #0B5BA8;
    background: #fff;
}

.scrolled .header-nav a {
  color: #0B5BA8;
}

.scrolled .header-logo a {
  color: #0B5BA8;
}

address {
  font-style: normal;
}

.header-logo {
  float: left;
  height: 90px;
  align-content: center;
}

.header-logo a,
.footer-logo a {
  display: flex;
  align-items: baseline; 
  margin-left: 26px;
  color: #fff;
  font-size: 19px;
  font-weight: bold;
  letter-spacing: 0.08em;
}

.header-logo img,
.footer-logo img {
  margin-right: 10px;
}

.header-nav {
    float: right;
    background-color: #0B5BA8;
    max-width: 100%;
    border-radius: 0px 0 0 5px;
    padding: 0 24px;
    height: 90px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: nowrap;
}

.header-nav ul {
  justify-content: space-between;
  align-items: center;
  display: flex;
  width: 621px;
}

.menu-contact {
  display: none;
}

.header-nav a {
  position: relative;
  color: #fff;
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background-color: white;
  width: 0;
  transition: width 0.3s ease-out;
  margin-bottom: -10px;
}

.nav-contact a::after {
  display: none;
}

.header-nav a:hover::after {
  width: 100%;
}

.header-nav ul .nav-contact {
  background-color: #fff;
  color: #0B5BA8;
  border-radius: 6px;
  width: 165px;
  text-align: center;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-nav ul .nav-contact a {
    color: #0B5BA8;
    display: flex
;
    height: 62px;
    width: 165px;
    justify-content: center;
    align-items: center;}

.header-nav ul .nav-contact a:hover {
  color: #fff;
}

.header-nav ul .nav-contact:hover {
  background-color: #0B5BA8;
  color: #fff;
}

.fa-envelope {
  margin-right: 10px;
}

.main-img {
  position: relative; 
  overflow: hidden;
}

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

/* 親要素を重ね合わせの土台にする */
.main-img {
    position: relative;
    overflow: hidden;
}

/* スライドを重ねる */
.slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    animation: main-fade 15s infinite; /* 5s+1s = 6s × 3枚 */
}

.slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像が歪まないように */
}

/* 1枚目以外を初期状態で絶対配置にするための調整 */
.slide-item:not(:first-child) {
    position: absolute;
}
/* 1枚目だけ高さを確保（これがないとmain-imgの高さが0になる場合があります） */
.slide-item:first-child {
    position: relative;
}

/* タイミングのずらし */
.slide-item:nth-child(1) { animation-delay: 0s; }
.slide-item:nth-child(2) { animation-delay: 5s; }
.slide-item:nth-child(3) { animation-delay: 10s; }

@keyframes main-fade {
0% { opacity: 0; }
    13.3% { opacity: 1; }  /* 約2秒かけてイン (15s * 13.3% ≒ 2s) */
    33.3% { opacity: 1; }  /* 3秒間停止 (33.3% - 13.3% = 20% ≒ 3s) */
    46.6% { opacity: 0; }  /* 約2秒かけてアウト (46.6% - 33.3% = 13.3% ≒ 2s) */
    100% { opacity: 0; }
}

/* 文字を一番手前に */
.kv-title {
    z-index: 10;
}

.main-img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; 
  background-image: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%, 
    rgba(68, 67, 67, 0.66) 62%, 
    rgba(0, 0, 0, 1) 79%
  );
  opacity: 36%;
}

.kv-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); 
  width: 100%; 
  text-align: left;
  z-index: 2;
}

.main-img h1 {
  position: relative;
  font-size: 48px;
  top: 27%;
  left: 10%;
  color: white; 
  font-weight: 900;
  font-family: 'Zen Kaku Gothic New';
  line-height: 78px;
}

.sub-title .pc-br {
  display: block;
}

.main-img .sub-title {
  font-size: 40px;
  line-height: 60px;
  font-weight: 500;
  display: block;
  margin-top: 50px;
  }

.kv-title h1::after {
  content: ''; 
  position: absolute;
  width: 527px; 
  height: 3px;
  top: 175px;
  left: 0;
  background-image: linear-gradient(
    to right, 
    #0B5BA8 0%,
    #ffffff 50%,
    #0B5BA8 100%
  );
  background-size: 200% 50%; 
  background-position: 100% 0; 
  animation: slide-gradient 3.0s ease-out forwards;
}


@keyframes slide-gradient {
  from {
    background-position: 100% 0; 
  }
  to {
    background-position: 0 0; 
  }
}
@keyframes move-down {
  0% {
  }
  100% {
  }
}

.header-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  float: right;
  display: flex;
}

.main-visual-wrapper {
  position: relative;
}

.scroll-indicator {
  width: 58px; 
  height: 236px;
  background-color: #0B5BA8;
  display: flex;
  flex-direction: column; 
  align-items: center; 
  justify-content: space-around; 
  position: absolute;
  z-index: 10;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
}

.scroll-text {
  writing-mode: sideways-lr;
  font-size: 14px;
  color: white;
  letter-spacing: 0.08em;
  margin: auto; 
}

.scroll-indicator::after {
  content: '';
  position: relative;
  width: 1px;
  height: 89px;
  background-color: white; 
  border-top: 5px solid white; 
}



.button {
    width: 200px;
  height: 60px;
  border: 1px solid #0B5BA8;
  border-radius: 10px;
  position: relative;
  transition: color 0.4s ease-out;
  z-index: 1;
  overflow: hidden;
  cursor: pointer;
  background-color: #fff;
  color: #0B5BA8;
  font-size: 16px;
  letter-spacing: 0.08em;
  display: flex;
  justify-content: center;
  align-items: center;
}

.button:hover {
  color: white; 
}

.button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0B5BA8; 
  z-index: -1; 
  border-radius: 5px;
  transform: translateX(-100%); 
  transition: transform 0.4s ease-out;
}

.button:hover::before {
  transform: translateX(0); 
}


.main-title {
  font-size: 46px;
  font-weight: 900;
  letter-spacing: 5px;
}

h2 span {
  font-size: 16px;
  font-weight: 400;
  color: #0B5BA8;
  letter-spacing: 0.1em;
}

.main-title {
  font-size: 3rem; 
  font-weight: 700;
  color: black; /* デフォルトの文字色 */
}

/* ⭐ Bの部分（.blue-char）にグラデーションを適用 ⭐ */
.blue-char {
  /* 1. グラデーションの背景を設定 */
  /* to right: 左から右へ、#0B5BA8から#007bffへ変化するグラデーションの例 */
  background-image: linear-gradient(to top,#0B5BA8, #fff); 
  
  /* 2. 背景をテキストの形に切り抜く（重要: -webkit-プレフィックスが必要） */
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  font-size: 46px;
}


.about,
.top-service {
    position: relative; 
    overflow: hidden; /* コンテンツがはみ出さないように（任意） */
    /* ... その他の設定 ... */
}

.about::before,
.top-service::before {
    content: '';
    display: block;
    position: absolute;
    right: 30px;
    top: 0;
    width: 2px;
    height: 100%;
    background-color: #0B5BA8;
    z-index: 5;
}

.top-service::before {
  left: 30px;
  top: 0px;
}

.about::after {
  content: '';
  position: absolute;
  background-image: url(../img/home/memori-bl.png);
  right: 15px;
  top: 210px;
  width: 32px;
  height: 195px;
  z-index: 20;
  display: block;
}

.vertical-blue-line::after {
  content: '';
  position: absolute;
  background-image: url(../img/home/memori-bl.png);
  left: 200px;
  top: -96px;
  width: 32px;
  height: 195px;
  z-index: 20;
  display: block;
  transition: auto;
  transform: rotate(90deg);
}

.vertical-blue-line {
    height: 2px;
    background-color: #0B5BA8;
    margin: 0 30px;
    display: block;
    position: relative;
    bottom: 0;
    width: calc(100% - 60px);
  }

.about,
.top-service {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 180px 0;
}

.top-achievements {
  margin-bottom: 100px; 
}

.about-deco,
.service-deco {
  position: relative;
}

.about-deco{
  height: 600px;
  width: 50%;  
}

.service-deco {
  width: 723px;
  height: 620px;
}

.about img,
.top-service img {
  display: block;
  position: absolute;
  z-index: 4;
}

.about img {
  left: 20%;
  top: 200px;
  max-width: 574px;
  width: 90%;
}

.service-img-top {
  width: 328px;
  height: 377px;
  right: 16px;
  top: -60px;
}

.service-img-bottom {
  width: 474px;
  height: 345px;
  top: 210px;
  z-index: 3!important;
}

.deco-square {
  position: absolute;
  z-index: 1;
}

.blue {
  background-color: #0B5BA8;
}

.about .blue {
  width: 90%;
  height: 70%;
  top: 15%;
  left: 0;
}

.top-service .blue {
  width: 707px;
  height: 500px;
  top: 0;
  left: 20px;
}

.gray {
  background-image: linear-gradient(to right, #B6B6B6, #eef0f2); 
  width: 356px;
  height: 49px;
  z-index: 4;
}

.about .gray {
  top: 65px;
  left: 0;
}
.top-service .gray {
  top: 350px;
  right: -158px;
  transform: rotate(90deg);
}

.overlay-text {
  z-index: 5;
  color: rgba(255, 255, 255, 0.5); 
  font-weight: 900;
  font-size: 128px;
  position: absolute;
}

.about .overlay-text {
  top: 50%;
  left: 28px;
}

.service-deco .overlay-text {
  margin: 0;
  right: 15px;
}

.about-content,
.service-content {
  width: 50%;
}

.about-content {
  padding: 0 80px 0 110px;
}

.service-content {
  padding: 0 50px 0 100px;
}

.about p,
.top-service p,
.top-equipment p {
  font-weight: 500;
  margin: 4em 0 3em;
  line-height: 2em;
}

.about p span,
.top-service p span {
  font-size: 24px;
  font-weight: bold;
  display: block;
  margin-bottom: 20px;
}

.top-equipment::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../img/home/bg-equipmemt.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 0.88% 68.7%;
  opacity: 0.15;
  z-index: 1;
}









.equipment-scrolldown {
  position: absolute;
  left: 50%;
}

.top-equipment {
display: flex;
  justify-content: space-evenly;
  align-items: center;
  height: 463px;
  padding: 60px 26px;
  margin-bottom: 100px;
  box-sizing: border-box;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  background-position: 0.88% 68.7%;
  position: relative;
  overflow: hidden; /* top-equipment自体の予期せぬスクロールを防ぐ */
}

.equipment-wrap {
    width: 50%;
    height: 100%;
    overflow-y: scroll;
    z-index: 5;
    display: flex;
    flex-direction: column;
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-behavior: auto !important; 
}

.equipment-wrap::-webkit-scrollbar {
  display: none;
}


.equipment-wrap .image-item {
width: 100%;
    height: 100%; /* 各画像の高さを固定（コンテンツの総高さを確保）*/
    flex-shrink: 0; 
    
    scroll-snap-align: start; 
    
    display: flex; 
    justify-content: center; 
    align-items: center;
    position: relative;
    transition: opacity 0.9s ease-out;
  }

.top-equipment-text {
    /* photoSliderと並列にするため、widthを調整 */
    width: 40%; /* 50%でも可、必要に応じて調整 */
    z-index: 10;
    position: relative; 
}

/* 画像本体のサイズ指定（580px x 324pxの範囲）*/
.equipment-wrap .image-item img {
  height: auto; 
  object-fit: contain;
  display: block; 
}



/* スクロールバー（青い丸と白い棒）関連 */
.equipment-scrolldown-wrapper {
  height: 324px;
  margin: 0 30px;
  position: relative;
}

.equipment-scrolldown {
/* 🚨 修正: absolute の位置指定を外し、静的なコンテナに戻す 🚨 */
  position: relative; 
  height: 100%; /* wrapperいっぱいの高さを確保 */
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  transition: none;
}

.equipment-scrolldown .scrolldown-dot {
    position: absolute;
    /* 🚨 JSで top を直接書き換えるため、この初期値は 0 のまま 🚨 */
    top: 0; 
    left: 50%;
    width: 16px; /* 丸のサイズ */
    height: 16px; /* 丸のサイズ */
    border-radius: 50%;
    background: #0B5BA8; /* 青色 */
    z-index: 101; /* 棒より高く */
    /* 丸の高さの半分だけ上にずらして中央基準にする */
    transform: translate(-50%, -50%); 
    transition: none; /* JSで top を直接操作するため */
}

/* 白い棒（.scrolldown-line）*/
.equipment-scrolldown .scrolldown-line { 
position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%; /* 常にwrapperいっぱいの高さ */
  background-color: #fff;
  transform: translateX(-50%);
  z-index: -1;
  transition: none;
}
.top-equipment > div {
  z-index: 2;
  position: relative;
}


.equipment-wrap .image-hidden {
    opacity: 0;
    transform: translateY(0px);
}

/* 表示状態: 表示・元の位置へ */
.equipment-wrap .image-active {
    opacity: 1;
    transform: translateY(0);
}




.box-line::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 10px;
  background: linear-gradient(to right,#0B5BA8 0%,#DFEFFF 100%);
}

.index .box-line::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(to right, #DFEFFF 0%, #0B5BA8 100%);
    width: 100%;
  }



.top-achievements {
  background-color: #0B5BA8;
  text-align: center;
  padding: 80px 60px 60px 60px;
  color: #fff;
  position: relative;
}

.top-achievements h2 {
  font-size: 36px;
  margin-bottom: 70px;
  letter-spacing: 0.1em;
  margin-bottom: 30px;
}

.top-achievements .button {
  color: #fff;
  border: 1px solid #ffffff;
  background-color: #0B5BA8;
}

.top-achievements .button:hover {
    color: #0B5BA8;
    background-color: #0B5BA8;
  }

.top-achievements .button::before {
  background-color: #ffffff;
}

.about-content .button-wrap,
.top-service .button-wrap,
.top-equipment .button-wrap {
  display: block;
}

.button-wrap {
  display: flex;
  justify-content: center;
}

.top-achievements-text {
  font-size: 24px;
  line-height: 36px;
  letter-spacing: 0.08em;
  margin-bottom: 80px;
}

.top-achievements-text span {
  display: block;
  font-size: 16px;
  margin-top: 50px;
}

.text-area-overlay {
  position: absolute;
  bottom: -40px;
  left: 45%;
  padding: 20px;
  width: 70%;
  text-align: left;
  background-color: #EEF0F2;
  height: 117px;
  color: #000;
  transform: translateX(-15%);
}

.text-area-overlay p {
  margin: 0;
  letter-spacing: 0.08em;
}

.top-achievements img {
  max-width: 579px;
  height: auto;
  width: 100%;
}

.tile-wrapper .main-img {
  display: block;
  width: auto;
  height: 100%;
}

.top-achievements-list {
  display: flex;
  flex-wrap: wrap; 
  justify-content: space-between; 
  gap: 140px 30px;
  margin-bottom: 100px;
}

.top-achievements-list .tile-wrapper {
  width: calc(50% - 10px); 
  flex-basis: 45%;
  flex-shrink: 1;
  min-width: 300px;
  position: relative;
}

.contact-box h2 span {
    color: #fff;
}

.contact-box {
  background-image: url('../img/home/contact.webp');
  background-size: cover;
  background-position: center;
  max-width: 85%;
  height: 400px;
  margin: 0 auto 100px auto;
  background-color: rgba(0, 0, 0, 0.25);
  background-blend-mode: multiply;
  color: white; 
  padding: 40px 20px;
  display: flex;
  justify-content: space-around; 
  align-items: center; 
}

.contact-box .main-title {
  color: #fff;
}

.contact-box .tel-link {
  color: #fff;
}

.contact-box h2,
.contact-text {
  text-align: center;
  margin: 0;
}

.contact-box h2 {
  margin-bottom: 80px;
}

.contact-text {
  letter-spacing: 0.08em;
  line-height: 36px;
}

.contact-main {
  text-align: center;
}

.contact-main i,
.contact-main .tel-link {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.contact-box p {
  margin-bottom: 60px;
  letter-spacing: 0.08em;
}

.contact-box .button {
  border: #0B5BA8 1px solid;
  background-color: #fff;
}









footer {
  background-color: #0B5BA8;
  color: #fff;
  width: 100%;
  height: 326px;
  position: relative;
  padding: 0 100px;
}

.footer-container {
  display: flex;
  justify-content: space-between; 
  align-items: center; 
  max-width: 1200px; 
  margin: 0 auto; 
  height: 326px;
}
.footer-logo {
  margin-bottom: 50px; 
}

.footer-logo a {
  margin-left: 0;
}

.postal-code {
  margin-right: 1em;
}

address {
  font-size: 20px;
}

.footer-address {
    width: 50%;
    margin: 0 auto;
}

.footer-copyright {
  display: none;
}

.footer-nav {
    display: flex;
    gap: 30px;
    margin: 0 auto;
    width: 50%;
    justify-content: end;
}

.footer-nav .nav-list {
  display: block; 
}
.footer-nav .nav-list li {
  margin-bottom: 20px;
}

.footer-nav .nav-list li a {
  color: #fff;
}


.breadcrumb {
  color: #fff;
  position: absolute;
  z-index: 10;
  letter-spacing: 0.08em;
  margin-left: 25px;
  bottom: 15px;
  font-size: 16px;
}

.breadcrumb span {
  color: #fff;
}


/*about*/
.main-top {
  margin-bottom:  100px;
  position: relative;
}

.img-container {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  height: 0;
  padding-bottom: calc(460 / 1440 * 100%);
}

.img-container::after {
  content: "";
  height: 122px;
  width: 0px;
  border: 1px solid #fff;
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 50%;
}

.img-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.img-container h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  width: 100%;
  z-index: 2;
  font-size: 48px;
  letter-spacing: 0.08em;
}

.vertical-line {
  position: absolute;
  bottom: 0%;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100px;
  background-color: #fff;
}

.philosophy {
  background-color: #0B5BA8;
  color: #fff;
  padding: 30px;
  margin: 0 auto 100px auto;
  position: relative;
  z-index: 2;
  width: 90%;
}

.philosophy h2 {
  font-size: 36px;
  margin-bottom: 20px;
  text-align: center;
}


.philosophy-bg-img,
.about-bg-img,
.service-bg-img {
  position: relative; 
  z-index: 1;
}

.service-bg-img::before,
.service-bg-img::after {
  content: "";
  position: absolute;
  background-image: url('../img/home/gear-bg.png');
  background-repeat: no-repeat;
  background-size: 277px 284px;
  background-position: center;
  opacity: 0.6;
  top: 180px;
  left: 60px;
  width: 100%;
  height: 100%;
  z-index: -1; 
}

.service-bg-img::after{
  background-size: 191px 195px;
  top: -20px;
  left: -90px;
  }


.philosophy-bg-img::before,
.about-bg-img::before,
.top-achievements-bg-img::before,
.top-achievements-bg-img::before {
  content: "";
  position: absolute;
  background-image: url('../img/home/bg-steel-logo.png');
  background-repeat: no-repeat;
  background-size: 352px 326px;
  background-position: center;
  opacity: 0.2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; 
}

.top-achievements-bg-img::before {
    z-index: 0;
    background-position: top;
    opacity: 0.1;
    top: 10px;
    background-size: 500px;
}

.about-bg-img::before {
  background-size: contain;
  opacity: 0.6;
  }

.memori {
  margin-bottom: 60px;
  display: flex; 
  align-items: center; 
  justify-content: center;
}

.memori img {
  width: 80px;
}


.philosophy p {
  font-size: 18px;
  line-height: 26px;
  letter-spacing: 0.09em;
  width: 90%;
  margin: 0 auto;
}

.bg-img {
  background-image: url(../img/home/company-bg.webp);
  background-repeat: no-repeat;
  max-width: 100%;
  height: 100%;
  background-size: cover;
  position: relative;
  z-index: 1;
  margin-top: -290px;
  padding-top: 290px;
  padding-bottom: 20px;
}

.company .message,
.company .about-us {
  background-color: #fff;
  width: 90%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: relative;
  z-index: 3;
  margin: 0 auto 100px auto;
  padding: 160px 30px 60px 30px;
}

.title-sab {
  font-size: 16px;
  opacity: 0.5;
}

.page-title::before {
  content: '';
  display: block;
  position: absolute;
  width: 8px;
  height: 114px;
  background-image: linear-gradient(to bottom,#DFEFFF 0%,#0B5BA8 100%);
  top: 0;
  left: -8px;
}

.page-title::after {
  transform: rotate(90deg); 
}

.page-title {
  width: 483px;
  height: 114px;
  background-color: #0B5BA8;
  padding-left: 100px;
  color: #fff;
  display: flex;
  flex-direction: column; /* 要素を縦方向に並べる */
  justify-content: center; /* 垂直方向の中央揃え */
  position: absolute;
  top: 30px;
  left: 8px;
}

.title-main {
  font-size: 36px;
}

.title-main,
.title-sab {
  letter-spacing: 0.08em;  
  margin: 0;
}

.company .message-text {
width: 95%;
}

.company .message-text {
  margin: 0;
  padding: 50px 30px 50px 0;
}

.company .message p span {
  display: block;
  text-align: right;
  margin-top: 1.5em;
}

.company .message img {
  width: 100%;
  height: 100%;
}

.company .company-data {
  margin: 0;
  width: 50%;
}

.company .contact-box {
  z-index: 3;
  position: relative;
}

.data-row {
  display: flex;
  padding: 50px 0 5px 0;
  border-bottom: 1px solid #D9D9D9;
  letter-spacing: 0.06em;
  width: 90%;
}

.company-data .data-row:last-child {
  border-bottom: none;
}

.company address {
  font-size: 16px;
}

.data-row dt {
  width:80px ; 
  flex-shrink: 0;    
  padding-right: 20px;
}

.data-row dd {
  flex-grow: 1;
  line-height: 1.6;
}

.company .map {
  display: flex;
  align-items: center;
  width: 50%;
  justify-content: center;
}

.company-content .map iframe {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto !important;
}

.company-content {
  display: flex;
  width: 100%;
}

.button-top,
.contact .button {
  z-index: 3;
  margin: 0 auto;
  margin-bottom: 100px;
}

.contact,
.confirm,
.thanks {
  background-color: #EEF0F2;
  font-size: 20px;
  font-weight: normal;
  text-align: center;
  line-height: 42px;
  letter-spacing: 0.08em;
  padding-bottom: 1px;
}
.contact-wrapper {
  padding: 60px;
  margin: 30px;
  background-color: #fff;
  border-radius: 50px;
  margin-bottom: 100px;
}

.contact-wrapper-text {
  margin-bottom: 70px;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.tel-box {
  background-color: #0B5BA8; 
  color: #fff;
  padding: 20px;
  text-align: center;
  margin: 30px auto; 
  max-width: 600px;
  height: 140px;
  line-height: 36px;
  display: flex; 
  flex-direction: column; 
  justify-content: center; 
  align-items: center; 
}

.tel-number {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 5px;
  margin-top: 0;
  letter-spacing: 0.08em;
  color: #fff;
}

.tel-hours {
  font-size: 16px;
  margin: 0;
}

.contact-form-wrapper {
  display: flex;
  justify-content: space-between;
  max-width: 636px;
  margin: 0 auto;
  position: relative;
  width: 100%;
  font-size: 24px;
  letter-spacing: 0.08em;
  color: #0B5BA8;
}

.contact-form-line {
  max-width: 570px;
  border-bottom: 3px solid #0B5BA8;
  margin: 0 auto;
}

.contact-input,
.contact-confirm,
.contact-complete {
  position: relative;
}

.contact .contact-input p::before,
.confirm .contact-confirm p::before,
.thanks .contact-complete p::before {
  content: "";
  width: 32px;
  height: 32px;
  display: block;
  background-color: #0B5BA8;
  border-radius: 50%;
  position: absolute;
  bottom: -18px;
  left: 10px;
}

.contact .contact-confirm p::before,
.contact .contact-complete p::before,
.confirm .contact-input p::before,
.confirm .contact-complete p::before,
.thanks .contact-input p::before,
.thanks .contact-confirm p::before {
  content: "";
  width: 32px;
  height: 32px;
  display: block;
  background-color: #fff;
  border-radius: 50%;
  position: absolute;
  bottom: -18px;
  border: 2px solid #0b5bab;
}

.wpcf7 form .wpcf7-response-output {
  margin: 0;
}

.contact .contact-confirm p::before,
.thanks .contact-confirm p::before {
  left: 10px;  
}

.contact .contact-complete p::before,
.thanks .contact-input p::before {
  right: 10px;
}

form {
  margin-top: 100px;
  text-align: left;
  font-size: 20px;
  letter-spacing: 0.08em;
  line-height: 36px;
}

.confirm-wrap label {
  font-size: 16px;
}

.form-note {
  font-size: 16px;
  margin: 0;
}

form input {
  font-size: 20px;
}

.wpcf7-not-valid-tip {
  color: #0B5BA8;
}

.type-checkbox p {
  text-align: center;
  font-weight: 500;
  width: 40%;
}

.type-checkbox .input-group {
  font-weight: 400;
}

.form-row {
  border-bottom: #D9D9D9 solid 1px;
  padding: 30px 0 30px 0;
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-around;
}

.wpcf7-form-control-wrap {
  display: contents;
}

.contact input {
  height: 60px;
  width: 70%;
  padding: 0 10px;
}

.contact .button-wrap .button {
  width: 200px;
  height: 60px;
}

.contact label {
  width: 30%;
  text-align: center;
}


.input-group .wpcf7-checkbox .wpcf7-list-item {
  display: block;
  margin: 0 0 20px 0;
}

.required-mark {
  color: red;
  position: relative;
  bottom: 5px;
  left: 2px;
}

.contact form button {
  margin-bottom: 0;
  background-color: #0B5BA8;
  color: #fff;
}
.contact form button::before {
    background-color: #fff;
}
.contact form button:hover {
  color: #0B5BA8;
}

input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  width: 24px;
  height: 24px;
  border: 1px solid #ccc;
  border-radius: 3px;
  background-color: #fff;
  vertical-align: middle;
  cursor: pointer;
  padding: 0;
  margin: 0;
  bottom: 2px;
}

input[type="checkbox"]:checked::after {
  content: '✓'; 
  font-size: 20px; 
  color: #0B5BA8; 
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); 
}

textarea {
  width: 90%;
  height: 500px;
  padding: 10px;
  font-size: 20px;
}

.input-group {
  width: 60%;
}

.form-tel input,
.form-email input,
.form-name input,
.form-company-name input {
  width: 90%;
}

.form-message {
  margin-bottom: 50px;
}

.form-footer {
  text-align: center;
}

.confirm-wrap {
  margin-bottom: 80px;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.wpcf7-not-valid-tip {
  font-size: 16px !important;
}

.confirm label {
    width: 40%;
    text-align: center;
}

/*thanks*/
.thanks-text {
  font-size: 20px;
  margin-top: 100px;
  margin-bottom: 1em;
}

.thanks-title {
  color: #0B5BA8;
  font-weight: bold;
  font-size: 32px;
  display: block;
  margin-bottom: 50px;
  font-size: 32px;
  margin-top: 100px;
}

.thanks-text p:last-child {
  margin-bottom: 0;
}

.thanks .contact-wrapper,
.confirm .contact-wrapper {
  padding-bottom: 60px;
}

.wpcf7-spinner {
  display: none !important;
}

.confirm .button-wrap {
  justify-content: space-around;
}

.blue-button {
  color: #ffffff;;
}

.blue-button {
  background: linear-gradient(to right, #ffffff 50%, #0B5BA8 50%);
  background-size: 200% 100%;
  background-position: right bottom;
  transition: all 0.4s ease-out;
  border: none;
  position: relative;
  border:1px solid #0b5ba8;
}

.blue-button:hover {
  background-position: left bottom;
  color: #0B5BA8;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  border-color: #0B5BA8 !important;
}

.confirm .button-wrap .wpcf7-previous {
  background: linear-gradient(to right, #0B5BA8 50%, #fff 50%);
  background-size: 200% 100%;
  background-position: right bottom;
  transition: all 0.4s ease-out;
  position: relative;
}

.confirm .button-wrap .wpcf7-previous:hover {
  background-position: left bottom;
  color: #fff;
}

/*service*/
.service .img-container img {
  object-fit: fill;
  object-position: 0;
}

.service-main {
  margin-bottom: 100px;
}

.service-main img {
  width: 80%;
}

.service-main-wrapper {
  display: flex;
}

.img-trim-container {
  height: 700px;
  overflow: hidden;
  width: 100%; 
  position: relative; 
  overflow: hidden;
  margin-bottom: 60px;
  }

  .img-trim-container img {
  width: 90%;
  height: 100%;
  object-fit: cover;
  object-position: center; 
}

.service-img-wrapper {
  position: relative;
}

.service .blue {
  color: #fff;
  width: 721px;
  height: 122px;
  display: flex;
  align-items: center;
  padding-left: 75px;
  box-sizing: border-box;
}

.service-main-blue-top {
    position: absolute;
    right: 70px;
    top: 100px;
}

.service-main-blue-top h2 {
  font-size: 40px;
  line-height: 36px;
  letter-spacing: 0.1em;
}

.service-main-blue-bottom {
    position: absolute;
    right: 0;
    top: 270px;
}

.service-main-blue-bottom p {
  font-size: 24px;
  font-weight: normal;
  letter-spacing: 0.08em;
}

.service-main-blue-top::before,
.service-main-blue-bottom::before {
  content: '';
  display: block;
  position: absolute;
  width: 8px;
  height: 122px;
  background-image: linear-gradient(to bottom, #0B5BA8 0%, #DFEFFF 100%);
  top: 0;
  left: -8px;
}


.service-main-text {
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 42px;
}

.service-main-text span {
  display: block;
  font-size: 24px;
  color: #0B5BA8;
  margin-bottom: 1em;
  font-weight: bold;
}

.flexible-processing {
  background-color: #0B5BA8;
  position: relative;
  padding: 60px 26px;
}

.flexible-processing h3 {
  text-align: center;
  font-size: 36px;
  letter-spacing: 0.08em;
  line-height: 36px;
  color: #fff;
  margin-bottom: 80px;
  font-family: 'Zen Kaku Gothic New';
}

.feature-grid-title {
  text-align: center;
  font-weight: 500;
  line-height: 36px;
  object-fit: cover;
  display: block;
}

.feature-grid-text {
  line-height: 28px;
  letter-spacing: 0.08em;
}

.feature-grid-title-wrapper {
  padding: 10px;
}

.feature-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  max-width: 1300px;
  margin: 0 auto;
}

.flexible-processing-content {
    /* 🌟 Flexboxの重要な設定 🌟 */
    flex-grow: 1;   /* 画面が広い場合は拡大 */
    flex-shrink: 1; /* 画面が狭い場合は縮小 */
    flex-basis: 250px; /* 🌟 最小限の初期幅を設定 (この幅より小さくならないようにする目安) */
    overflow: hidden; 
    background-color: #fff;
}

.flexible-processing-content > div:first-child {
    /* 画像の縦横比を固定するために、高さを指定 */
    height: 180px; 
    overflow: hidden;
}

.flexible-processing-content img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  display: block;
}

.feature-grid-title-wrapper {
  padding: 20px;
}

.flexible-processing::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%); 
  width: 0;
  height: 0;
  border-left: 30vw solid transparent;
  border-right: 30vw solid transparent;
  border-top: 60px solid #0B5BA8;
  z-index: 10;
}

.page-bg {
  position: relative;
  background-color: #fff;
  z-index: 1;
  padding: 150px 0 50px 0;
}

.page-bg::before {
  content: "";
  position: absolute; 
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/home/page-bg.png'); 
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  opacity: 0.5; 
  z-index: -1;
}

.service-bg section {
  position: relative;
    z-index: 2;
}

.technical-flexibility-wrapper {
  display: flex; 
  justify-content: center;
  align-items: center;
  height: 513px;
  margin-bottom: 30px;
}

.technical-flexibility-img {
  width: 50%;       
}

.technical-flexibility-wrapper img {
  width: 100%;
}

.technical-flexibility h3,
.service-achievements h3 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-family: 'Zen Kaku Gothic New';
  color: #0B5BA8;
}

.technical-flexibility-text .blue-char {
  display: block;
  font-size: 96px;
  letter-spacing: 0.12em;
}

.service h4 {
  font-weight: 700;
  font-size: 32px;
  letter-spacing: 0.08em;
  position: relative;
  margin-top: 0;
}

.technical-flexibility-title {
    position: relative;
}

.technical-flexibility-title::before {
  content: "";
  position: absolute;
  height: 36px;
  width: 5px;
  background-image :linear-gradient(to top,#DFEFFF,#0B5BA8);
  top: 9px;
  left: -25px;
}

.technical-flexibility-text {
  padding: 0 50px;
  width: 50%;
}

.technical-flexibility-text p {
  letter-spacing: 0.08em;
  line-height: 36px;
  margin-bottom: 0;
}


.service-achievements,
.works-content {
  margin-bottom: 130px;
}

.service-achievements {
  padding: 30px;
}

.works-center-wrap {
  width: 95%;
  margin: 0 auto;
}

.service-achievements-content {
  width: 49%;
  margin-right: 2%;
  position: relative;
  margin-bottom: 90px;
}

.service-achievements-content:nth-child(2n) {
  margin-right: 0;
}

.service-achievements-content-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: flex-start;
  margin-bottom: 200px;
  flex-wrap: wrap;
  }

.service-achievements-img {
  display: flex;
  width: 100%;
  justify-content: center;
}

.service-achievements-img img{
  max-width: 619px;
  width: 100%;
}

.ervice-achievements-text-content {
  padding: 20px;
  background: #fff;
  position: absolute;
  width: 60%;
  height: 117px;
  bottom: -30px;
  right: 0;
}

.pagination {
  text-align: center;
  padding: 40px 0;
}

.page-link {
  display: inline-block;
  padding: 10px;
  margin: 0 5px;
  text-decoration: none;
  color: #333;
  transition: background-color 0.3s;
  width: 50px;
  height: 50px;
}

.page-link:hover {
  background-color: #f5f5f5;
}

.page-link.current {
  background-color: #0B5BA8;
  color: #fff;
  border-color: #0B5BA8;
  font-weight: bold;
}

.works .main-top,
.works-detail .main-top,
.equipment .main-top,
.single-works .main-top {
  margin-bottom: 0;
}

.works-detail-content .slide-trim-container img {
  width: 796px;
  object-fit: cover;
  display: block;
  margin: 0 auto 40px auto;
}

.works-detail-content {
  position: relative;
  z-index: 1;
}

.works-content-text {
  width: 796px;
  margin: 0 auto;
}

.works-content-text .title {
  margin-bottom: 0;
  font-size: 32px;
}

.equipment-list-section .inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 最初から3列 */
  gap: 30px;
}

.equipment-item {
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  border-radius: 4px;
  overflow: hidden;
}

.equipment-item:hover {
  transform: translateY(-5px); /* ホバーで少し浮き上がらせる */
}

.item-img {
  width: 100%;
  aspect-ratio: 4 / 3; /* 画像の比率を4:3で統一 */
  overflow: hidden;
  background-color: #eee;
}

.item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 比率を保って枠いっぱいに表示 */
}

/* テキストのエリア */
.item-body {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.item-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 10px;
}

/* タイトルの下の短い線 */
.item-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #0B5BA8;
}

/* サイズ・仕様のテキスト */
.item-details p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 8px;
}

.item-img {
  width: 100%;
  /* 445:300 の比率を計算（300 ÷ 445 ≒ 67.4%） */
  aspect-ratio: 445 / 300; 
  overflow: hidden;
  background-color: #eee; /* 画像がない時の背景色 */
}

.item-img img {
  width: 100%;
  height: 100%;
  /* ここが重要！比率を保ったまま枠いっぱいに広げ、はみ出しをカットします */
  object-fit: cover; 
  object-position: center; /* 中央を基準に切り抜き */
}

/* セクション全体の余白 */
.inventory-section {
  padding: 60px 0;
}

/* 青いタイトルのデザイン */
.inventory-headline {
  text-align: center;
  color: #0B5BA8; /* スクリーンの色に合わせた濃い青 */
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 40px;
}

/* テーブルを囲む枠のデザイン */
.inventory-table-container {
  max-width: 900px; /* 表の横幅 */
  margin: 0 auto;
  padding: 0 20px;
}

.inventory-table {
  width: 100%;
  border-collapse: collapse;
  /* 外枠の青い線 */
  border: 1px solid #0B5BA8; 
}

/* 「設備名」というヘッダー部分 */
.inventory-table thead th {
  background-color: #fcfdfe; /* 非常に薄い青 */
  color: #333;
  font-size: 1.3rem;
  padding: 15px;
  border-bottom: 1px solid #0B5BA8;
  text-align: center;
}

/* 各行の設備名 */
.inventory-table tbody td {
  padding: 15px 30px;
  border-bottom: 1px solid #eee; /* 行同士を分ける薄い線 */
  color: #333;
  font-size: 1.1rem;
  background-color: #fff;
}

/* 最後の行の線は不要なので消す */
.inventory-table tbody tr:last-child td {
  border-bottom: none;
}



/* ページネーションの横並び設定 */
.pagination ul {
  display: flex;
  justify-content: center;
  padding: 0;
  gap: 10px; /* 数字同士の隙間 */
  margin: 40px 0;
  float: none;
}
/* 1. まず全体の共通設定（青い四角） */
.pagination li a, 
.pagination li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #00529b; /* 青い枠 */
  color: #00529b;            /* 青い三角 */
}

/* 3. 現在のページの数字（青背景に白文字） */
.pagination li span.current {
background: #00529b;
color: #fff;
border-color: #00529b;
cursor: default;
}

/* ページネーションの中の勝手に入る画像を消す */
.pagination li a img {
  display: none !important;
}

/* 「前へ」「次へ」の文字を透明にして、矢印を作る準備 */
.pagination li a.prev,
.pagination li a.next {
  font-size: 0; /* 文字を消す */
  position: relative;
  border: none;
}

.pagination li a.next::before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent #0B5BA8; /* オレンジ色の三角 */
}

.pagination li a.prev::before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 10px 6px 0;
  border-color: transparent #0B5BA8 transparent transparent; /* オレンジ色の三角 */
}

.error-404 {
  background-color: #DAE5F8;
  padding: 100px 0;
  color: #0B5BA8;
}

.error-404 section {
  width: 85%;
  margin: 0 auto;
}

.error-404 span {
  display: block;
  font-size: 16px;
  margin-top: 20px;
}

.error-404 h1 {
  font-size: 128px;
  letter-spacing: 0.08em;
  margin-bottom: 65px;
}

.error-404 .inner p {
  line-height: 28px;
  letter-spacing: 0.08em;
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 70px;
}

.error-404 h1 span {
  font-size: 48px;
  margin-top: 26px;
}

.error-404 .button-wrap {
  display: block;
}

.sp-br {
  display: none;
}

.image-item {
  opacity: 0;
  transition: opacity 0.8s ease;
}
.image-item.image-active {
  opacity: 1 !important;
}
