@charset "UTF-8";
html{
  scroll-behavior: smooth;
  margin-top:0 !important;
}

body{
  overflow-x: hidden;
  min-width: 1400px;
}


h1,h2,h3,h4,h5,.bold,a,i,p,td,li,dt{
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
    font-weight:bold;
    letter-spacing:.05em
}

h1,h2,h3{
    margin:0;
}

a{
    transition: all 300ms 0s ease;
    text-decoration:none;
    letter-spacing:.06em;
}

a:hover{
    opacity: .8;
}

p{
    line-height:2;
    letter-spacing:.07em;
    font-size:20px;
}

.container{
    width:1200px;
    margin:0 auto;
}

.row{
    display:flex;
}

.col-100{
    width:100%;
}

.col-80{
    width:78%;
}

.col-75{
    width:72%;
}

.col-70{
    width:66%;
}

.col-60{
    width:56%;
}

.col-50{
    width:48%;
}

.col-40{
    width:38%;
}

.col-30{
    width:31%;
}

.col-25{
    width:23%;
}

.col-20{
    width:18%;
}

.col-15{
    width:18%;
}

ul{
    padding-left:0;
    margin-top:0;
}

li{
    list-style-type:none;
}

.bold{
    font-weight:bold;
}

.txt-left{
    text-align:left;
}

.txt-center{
    text-align:center;
}

.txt-right{
    text-align:right;
}

/*ローディング================================*/
.start {
	background: white;
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 9000;
}
.start p {
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	display: none;
	z-index: 9999;
	width: 200px;
}

.start p img{
    width:100%;
}
/*ローディング================================*/

section,.works-area div,.works-area div h3,.works-area div h4,.works-area div h5  {
  scroll-margin-top: 200px; /* 固定ヘッダーの高さ分を調整 */
}

.merriweather-sans {
  font-family: "Merriweather Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: italic;
}

#g-nav{
    width:100%;
    height:115px;
    display:flex;
    justify-content: space-between;
    align-items: center;
    position:fixed;
    z-index:999;
    background-color:white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  min-width: 1400px;
}

.g-nav-innner{
    height:115px;
    position:relative;
}

.g-nav-innner #logo{
    position:absolute;
    top: 50%;
    left:20px;
    transform: translateY( -50%);
}

#g-nav #logo img{
    width:400px;
    vertical-align: middle;
}

.g-nav-right{
    height:115px;
    position:relative;
}

.g-nav-menu{
    height:115px;
    display:inline-block;
    width: 920px;

}


#g-nav ul{
    display:inline-block;
    list-style-type: none;
    padding-left:0;
    margin:0;
    text-align:right;
    position:absolute;
    top: 50%;
    left:20px;
    transform: translateY( -50%);
}

#g-nav li{
    display:inline-block;
    letter-spacing:.05em;
    font-size: 20px;
    margin-right: 35px;
}

#g-nav li a{
    color:black;
    text-decoration:none;
    font-weight:bold;
}


#g-nav .g-nav-menu ul li a{
    display:block;
    position:relative;
}

#g-nav .g-nav-menu ul li a::after {
    position: absolute;
    left: 0;
    content: '';
    width: 100%;
    height: 4px;
    background: #D92424;
    bottom: -17px; /*アンダーラインが現れ始める位置（aタグの下辺からの高さ）*/
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

#g-nav .g-nav-menu a:hover::after {
    visibility: visible;
    bottom: -9px;
    opacity: 1 !important;
}

#g-nav .g-nav-menu ul li .serch{
    position:absolute;
    top:-4px;
}

#g-nav .g-nav-menu ul li .serch img{
    width:30px;
}

#g-nav .g-nav-menu ul li .serch::after{
    height: 0px;
}

#g-nav .mail-icon{
    background-color:#D92424;
    width:115px;
    height:115px;
    display:inline-block;
    position:relative;
}

#g-nav .mail-icon:hover{
    background-color:rgb(0, 0, 0);
    opacity:1;
}

#g-nav .mail-icon img{
    width:40px;
    position:absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#g-nav .mail-icon span{
    position:absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    color:white;
    font-size:14px;
    width:100%;
    text-align:center;
}

#search-bar {
  display: none;              /* 初期非表示 */
  position: absolute;         /* アイコンの下に表示 */
  top: 40px;                  /* アイコン下端からの距離 */
  right: 0;                   /* ヘッダー右端揃え */
  background: white;
  padding: 10px;
  border: 1px solid #ddd;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 999;
}

#search-bar input {
  padding: 5px 10px;
  font-size: 14px;
  width: 250px;
  height: 35px;
}

#search-bar button {
  padding: 5px 20px 7px 20px;
  background: #D92424;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 3px;
}

/*スライダー*/
.slider {
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.slider div {
  height: 100vh;
}

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



@keyframes zoomUp {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.15); /* 拡大率 */
  }
}
.add-animation {
    animation: zoomUp 10s linear 0s normal both;
}

.slider .slider-wrap {
    position: relative; /* テキストを重ねるため */
}

.slider-text {
    position: absolute;
    top: 45%;
    left: 100px;
    color: #000;
    z-index: 10; /* 最前面に表示 */
    width:100%;
    height: 100vh;
}

.slider-text span{
  color:#D92424;
}

.slider-title {
    font-size: 88px;
    font-weight: bold;
    margin:0;
    line-height:1.2;
}

.slider-subtitle {
    font-size: 28px;
    font-weight: normal;
    margin:0;
}

/* お知らせセクション */

#news-section {
  width: 100%;
  padding: 80px 0;
  background-color: #fff; /* 背景白 */
}

/* コンテナ（左右2カラム） */
.news-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 1200px;
  margin: 0 auto;
  gap: 60px;
}

/* 左側：お知らせリスト */
.news-list {
  flex: 4;
  background-color: #fff;
}

.news-item {
  border-bottom: 1px solid #ddd;
  padding: 15px 0;
}

/* ブロックリンク */
.news-link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: #000;
  text-decoration: none;
  transition: color 0.3s, background-color 0.3s;
  padding: 5px 0; /* ホバー範囲を広げる */
}

.news-link:hover {
  color: #d92424;
}

.news-link .news-date {
  font-size: 16px;
  color: inherit;
  margin-right:20px;
  width:10em;
}

.news-link .news-category {
  font-size: 14px;
  color: #555;
  padding: 4px 20px;
  border-radius: 3px;
  border: 1px solid #BDBEBF;
  margin-right:40px;
}

.news-link .news-title {
  font-size: 20px;
  color: inherit;
  flex: 1; /* タイトルで残り幅を確保 */
}

/* 右側：タイトルボックス */
.news-title-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end; /* 右揃え */
}

.news-title-box .main-title ,.main-title{
  font-size: 36px;
  font-weight: bold;
  color: #222;
  margin-bottom: 10px;
  display: inline-block; /* 幅を文字に合わせる */
  position: relative;
}

.news-title-box .main-title::after ,.main-title::after{
  content: '';
  position: absolute;
  left: 0;
  bottom: -15px; /* 下線の位置調整 */
  width: 100%;
  height: 4px;
  background-color: #d92424;
}



/* サブタイトル */
.sub-title {
  font-size: 12px !important;
  letter-spacing: 0.2em;
  font-weight: normal;
  margin-top: 20px;
  color:white;
  margin-bottom:10px;
}

.news-title-box.top .sub-title, #business-section.top .sub-title {
    color:#000 !important;
    margin-bottom: 30px !important;
    margin-top: 20px !important;
}

.concept-inner.top .sub-title{
  color:white !important;
}

/* 一覧ボタン */
.news-title-box .news-archive-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border: 1px solid #ddd;
  background-color: #fff;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  border-radius: 4px;
  transition: 0.3s;
}

.news-title-box .news-archive-btn:hover {
  background-color: #f0f0f0;
}

/* ボタン右端の三角形 */
.news-title-box .news-archive-btn .arrow {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #000;
  display: inline-block;
}

/* CONCEPTセクション */
#concept-section {
    position: relative;
    height: 400px;
    background-color: #D92424; /* 背景赤 */
    clip-path: ellipse(80% 100% at 50% 100%);
    padding:80px 0 0 0
    /* 上端に円弧をつける */
}

/* タイトルとテキストをcontainer内に収める */
.concept-inner {
  max-width: 800px; /* container内で最大幅を指定 */
  margin: 0 auto;
  padding: 0 20px; /* 横の余白 */
  text-align: center;
}

/* タイトル */
.concept-title,.history-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 30px;
    color:white;
}

/* 説明文 */
.concept-text,.history-text {
    font-size: 20px;
    line-height: 2.4;
    color:white;
}

#history-section{
    height:100px;
    position:relative;
}

#history-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 20px;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-top: 40px solid #D92424;
    z-index:99;
}

#history-section {
  position: relative;
  height: 900px;
  background: url("img/history-bg.jpg") center/cover no-repeat;
  clip-path: ellipse(80% 100% at 50% 0%);
  overflow: hidden; /* 疑似要素がはみ出さないように */
  margin-bottom: 70px;
}

#history-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* 半透明の黒 */
  z-index: -1;
}

#history-section .container{
    z-index:99;
    text-align:center;
    padding-top:100px;
}

#history-section .container img{
    width:200px;
}

#history-section .container a{
    background-color:#d92424;
    color:white;
    padding:15px 30px;
    margin-top:20px;
    display: inline-block;
    font-size: 20px;
}

#history-section .container a:hover{
    opacity:1;
    background-color:rgb(255, 89, 0);
}

#business-section{
  padding:100px 0 0 0;
}

.business-title-wrap{
  text-align:center;
  margin-bottom:50px;
}

/* 全体共通 */
#business-section {
  width: 100%;
  overflow: hidden;
}

.business-title-wrap {
  text-align: center;
  margin: 0 auto 40px auto;
}

#business-section .container {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%; /* 親の高さに合わせる */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* 各事業共通設定 */
.iron-bns-wrap,
.reform-bns-wrap,
.logi-bns-wrap,
.tai-bns-wrap,
.sekozu-bns-wrap{
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
}

.sekozu-bns-wrap{
  position:relative;
}

.sekozu-bns-wrap::after{
  content:'COMMING SOON';
  width: 100%;
  height:180px;
  background-color:#000;
  opacity:.8;
  position:absolute;
  top:0;
  left:0;
  z-index:1;
  color:white;
  font-size:32px;
  text-align:center;
  align-content: center;
  letter-spacing:.1em;
}

/* 金属工事事業 */
.iron-bns-wrap {
  background: url("img/metal-bg.jpg") center/cover no-repeat;
  color: #fff;
}

/* リフォーム事業 */
.reform-bns-wrap {
  background-color: #f9d849; /* 黄色 */
  color: #333;
}

/* ロジスティクス事業 */
.logi-bns-wrap {
  background-color: #D92424; /* 赤 */
  color: #fff;
}

.tai-bns-wrap{
  background-color: #da79b1;
  color: white;
}

.sekozu-bns-wrap{
  background-color: #227CAA;
  color: white;
}

/* 各要素 */
#business-section h3 {
  font-size: 28px;
  font-weight: bold;
  flex: 1.2;
  white-space: nowrap;
  letter-spacing:.075em;
}

#business-section p {
  flex: 2.2;
  line-height: 2.2;
  font-size: 20px;
}

#business-section img {
  flex: .8;
  height: 100px;   /* 高さ固定 */
  width: auto;     /* 比率を保って自動調整 */
  display: block;
  object-fit: contain; /* 枠内に収める（念のため） */
}

#business-section .iron-bns-wrap img {
  height:140px;
}

#business-section .logi-bns-wrap img {
  height:70px;
}

#business-section .tai-bns-wrap img {
  height:80px;
}

#business-section .sekozu-bns-wrap img{
  height:120px;
}

/* 帯全体リンク */
.iron-bns-wrap,
.reform-bns-wrap,
.logi-bns-wrap,
.tai-bns-wrap,
.sekozu-bns-wrap {
  display: block;       /* aタグをブロック化 */
  width: 100%;
  height: 180px;
  text-decoration: none; /* 下線消す */
  color: #fff;           /* 文字色を白に */
  transition: all 0.3s;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* 軽いシャドウ */
}

/* コンテナ内の文字も白に */
.iron-bns-wrap h3,
.reform-bns-wrap h3,
.logi-bns-wrap h3,
.tai-bns-wrap h3,
.sekozu-bns-wrap h3,
.iron-bns-wrap p,
.reform-bns-wrap p,
.logi-bns-wrap p,
.tai-bns-wrap p,
.sekozu-bns-wrap p {
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5); /* 文字シャドウ */
}

/* ホバー効果 */
.iron-bns-wrap:hover,
.reform-bns-wrap:hover,
.logi-bns-wrap:hover,
.tai-bns-wrap:hover {
  opacity: 0.9;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(0,0,0,0.3); /* ホバー時シャドウ強め */
  z-index:999;
}

.btn-wrap .row{
  display: flex;
  justify-content: center; /* 水平方向中央 */
  align-items: center;     /* 垂直方向中央（必要なら） */
  width: 100%;
  margin: 50px 0;  
}


.red-btn {
  display: block;
  width: 300px;
  margin: 50px auto;
  padding: 20px;
  background: #D92424;
  position: relative;
  color: white;
  text-align: left;
  font-weight: bold;
  transition: background 0.3s;
  font-size: 20px;
}

.red-btn:before,
.red-btn:after {
  position: absolute;
  content: '';
  transition: all 0.3s; /* 追加: hover時アニメーション用 */
}

.red-btn:before {
  top: 30px;
  right: 20px;
  width: 50px;
  height: 1px;
  background: #fff;
}

.red-btn:after {
  top: 25px;
  right: 20px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-right: 0 solid transparent;
  border-bottom: 0 solid transparent;
  border-left: 8px solid #fff;
}

/* hover時 */
.red-btn:hover {
  background: rgb(0, 0, 0);
  opacity: 1;
}

.red-btn:hover:before {
  transform: translateX(5px); /* 線を右にスライド */
}

.red-btn:hover:after {
  transform: translateX(5px); /* 矢印を右にスライド */
}

#bnr-section{
  margin-bottom:70px;
}

#bnr-section .col-30 img{
  width:100%;
  border:1px solid #BDBEBF;
}

#bnr-section .container .row{
  justify-content: space-between;
}



/* フッター共通 */
#footer {
  background-color: #F4F4F4; /* フッター背景色 */
  color: #000000;
  font-size: 16px;
}

#footer p{
  font-size: 16px;
}

#footer .container.footer-wrap {
  display: flex;
  gap: 40px;
  flex-wrap: wrap; /* レスポンシブ用に折り返し */
    padding: 60px 0;

}

#footer .container.footer-wrap .footer-logo img{
  width:350px;
  margin-bottom:10px;
}

/* カラム比率 */
.footer-col1 { flex: 5; }
.footer-col2,
.footer-col4 { flex: 2; }
.footer-col3 { flex: 1.6; }


/* 左カラム */
.footer-col1 p {
  margin: 8px 0;
  line-height: 1.4;
    font-weight:normal;
    margin-left:70px;
}
.footer-col1 .note {
  font-size: 9pt;
    font-weight:normal;
}

/* リンクカラム共通 */
.footer-col2 a,
.footer-col3 a {
  display: block;
  color: #000000;
  text-decoration: none;
  margin-bottom: 20px;
  transition: color 0.3s;
  font-weight:normal;

}

.footer-col2 a:hover,
.footer-col3 a:hover {
  color: #ff9500; /* ホバー色 */
}

/* サブリンクのインデント */
.footer-col2 a.sub-link {
  display: block;
  font-size: 0.95em;
}

/* 右カラム */
.footer-col4 {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.footer-col4 .red-btn {
  width: 220px; /* ボタン幅調整 */
  margin: 0;
  font-size: 16px;
}

.footer-col:last-child {
  display: flex;
  justify-content: center; /* 横方向中央揃え */
  align-items: flex-start; /* 縦方向上揃え */
}

.copy-wrap{
  background-color:white;
  display:flex;
}

.copy-wrap .row{
  justify-content: space-between;
  width: 100%;
}

.copy-wrap .row a,.copy-wrap .row p{
  font-size:12px !important;
  color:#000;
  font-weight:normal;
  display:block;
}

.copy-wrap .row a{
  margin-top:20px;
  margin-left:2em;
}

.copy-wrap .row p{
  text-align:right;
  margin-right:2em;
}


/*下層ページ==========================================*/

.page .breadcrumbs-wrap,.archive .breadcrumbs-wrap,.single .breadcrumbs-wrap{
  padding-top: 170px;
}

.breadcrumbs a,.breadcrumbs span,.breadcrumbs{
  color:#848484;
  font-size:12px;
}

.page .sub-title,.archive .sub-title,.single .sub-title{
    color:#000;
    margin:0;
}

.page .title-wrapper,.archive .title-wrapper,.single .title-wrapper{
  border-left:5px solid #D92424;
  padding-left:30px;
  margin:50px 0 70px 0;
}

.page .title-wrapper02,.archive .title-wrapper02,.single .title-wrapper02{
  border-left:5px solid #D92424;
  padding-left:30px;
  margin:50px 0 70px 0;
}

.page h1,.archive h1,.single h1{
  font-size:42px;
}

.page #business-section{
  padding-top:0;
}

.business-kaso-wrap{
  text-align:center;
}

.business-kaso-wrap .border-area{
  width:100%;
  height:12px;
  background-color:#CCCCCC;
  margin-top:50px;
  position:relative;
  text-align:center;
}

.business-kaso-wrap.reform-wrapper .border-area{
  background-color:#FFCE00;
  height:30px;
}

.business-kaso-wrap.logi-wrapper .border-area{
  background-color:#D92424;
  height:30px;
}

.business-kaso-wrap .border-area::after{
  content:'';
  position:absolute;
  background: url("img/metal-const-icon.png") center/cover no-repeat;
  top:50%;
  left:50%;
  transform: translate(-50%, -50%);
  width:140px;
  height:140px;
  border:2px solid #CCCCCC;
  border-radius:50%;
}

.business-kaso-wrap.reform-wrapper .border-area::after{
  background: url("img/reform-icon.png") center/cover no-repeat;
  border:2px solid #FFCE00;
}

.business-kaso-wrap.logi-wrapper .border-area::after{
  background: url("img/logi-icon-logo.png") center/cover no-repeat;
  border:2px solid #D92424;
}

.business-kaso-wrap h1{
  margin:80px 0 50px 0;
  font-size:36px;
  letter-spacing:.1em;
}

.kaso-anker-nav .row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.kaso-anker-nav .col-25 {
  flex: 1;
  min-width: 250px;
}

.kaso-anker-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #ccc;
  border-radius: 50px; /* ← 角を丸く */
  padding: 8px 20px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  background-color: #fff;
  position: relative;
}

/* 下向き三角アイコン */
.kaso-anker-nav a::after {
  content: "▼";
  font-size: 12px;
  color: #666;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

/* hover時の効果 */
.kaso-anker-nav a:hover {
  background-color: #f5f5f5;
  border-color: #999;
  color: #000;
}

.kaso-anker-nav a:hover::after {
  transform: translateY(2px);
}

.main-img-area.metal{
  width:100%;
  height:650px;
  margin-top:70px;
  position:relative;
}

.main-img-area.recruit{
  width:100%;
  height:1000px;
  margin-top:70px;
  position:relative;  
  margin-bottom:100px;
}

.main-img-area.metal::before{
  content:'';
  position:absolute;
  background: url("img/metal-bg02.jpg") center/cover no-repeat;
  top:0;
  left:0;
  width:100%;
  height:650px;
}

.main-img-area.reform::before{
  content:'';
  position:absolute;
  background: url("img/reform003.jpg") center/cover no-repeat;
  top:0;
  left:0;
  width:100%;
  height:650px;
}

.main-img-area.logi::before{
  content:'';
  position:absolute;
  background: url("img/logi-top-img.jpg") center/cover no-repeat;
  top:0;
  left:0;
  width:100%;
  height:650px;
}

.main-img-area.recruit{
  background: url("img/recruit-top.jpg") center/cover no-repeat;  
}



.metal .copy-area{
  position:absolute;
  bottom:-80px;
  right:100px;
  padding:50px 70px;
  background-color:white;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 99;
}

.reform .copy-area{
  width:500px;
}

.main-img-area.metal h2,.main-business-area.metal h2,.main-business-area.reform h2,.main-business-area.logi h2{
  font-size:32px;
  line-height:1.6em;
}

.main-business-area.logi h2{
  color:white;
}

.main-img-area.metal p,.main-business-area.metal p,.main-business-area.reform p,.main-business-area.logi p{
  font-size:20px;
}

.main-business-area.logi p{
  color:white;
}

.main-business-area.metal{
  background-image: linear-gradient(#ffffff, #d1d1d1);
  padding:120px 0 50px 0;
}

.main-business-area.reform{
  background-color: #FFCE00 !important;
  padding:80px 0 100px 0;
}

.main-business-area.logi{
  background-color: #D92424 !important;
  padding:80px 0 100px 0;
}


.main-business-area.metal img{
  width:100%;
}

.main-business-area.metal .row{
  justify-content: space-between;
}

.flow-wrap .row{
  flex-wrap:wrap;
    margin-top:60px;
}

#rfm-bn .col-30 img{
  width:100%;
  margin-bottom:30px;
  border-radius: 25px;
}

#rfm-bn{
  justify-content: space-between;
  margin-top:50px;
}

#rfm-bn h3{
  color:white;
  text-align:center;
  font-size:28px;
}

#rfm-bn .sub-title{
  text-align:center;
  border-bottom:2px solid white;
  padding-bottom:20px;
  margin-bottom:10px;
}

#rfm-bn .sub-title+p{
  height:250px;
}

#rfm-bn a{
  width:100%;
  display:block;
  border:1px solid white;
  padding:15px 0;
  position:relative;
  color:white;
  text-align:center;
  border-radius:30px;
}

#rfm-bn a::after{
  content:'';
  background: url("img/nw-icon.png") center/cover no-repeat;
  position:absolute;
  top:50%;
  right:20px;
  transform: translate(-50%, -50%);
  width:20px;
  height:20px;

}

#logi-content .btn-wrap .red-btn{
  background-color:white;
  color:#D92424;
}


#logi-content .btn-wrap .red-btn:before {
  background: #D92424;
}

#logi-content .btn-wrap .red-btn:after {
  border-left: 8px solid #D92424;
}

#lg-flow .flow-title-wrap h3{
  width:14em;
}

#lg-flow .img-open p{
  width:32em;
}

#lg-flow .col-100-1st .lg-txt {
    width: 32em;
}

#lg-flow .flow-title-wrap-top h3{
  width:18em;
}

#rfm-flow .flow-title-wrap p{
  width:38em;
}

/* --- 各カード --- */
.flow-wrap .col-100 {
  padding: 10px 0px 10px 40px;
  margin-bottom: 30px;
  border: 1px solid #ccc;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  align-items: start;
}

.flow-wrap .col-100-1st{
  padding: 25px 30px 15px 40px;
}

/* 画像がない場合は1カラムに */
.flow-wrap .col-100:not(:has(img)) {
  grid-template-columns: 1fr;
}

/* --- 左側コンテンツ --- */
.flow-title-wrap,.flow-title-wrap-top {
  display: flex;
  align-items: center;
  gap: 15px;
}
.flow-title-wrap-top {
  margin-bottom: 10px;
}

/* 番号 */
.flow-title-wrap span, .flow-title-wrap-top span{
  display: inline-flex;
  color: #000;
  font-weight: bold;
  font-size: 36px;
  flex-shrink: 0;
  width:2em;
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
  letter-spacing:.05em;
}

/* タイトル */
.flow-title-wrap h3, .flow-title-wrap-top h3{
  font-size: 24px;
  font-weight: bold;
  color: #222;
  margin: 0;
  line-height: 1.4;
  text-align: left;
  width:10em;
}

.flow-title-wrap-top h3{
  display:inline-block;
}

/* 説明文（左揃え） */
.flow-wrap .col-100 p,.flow-wrap .col-100-1st p{
  font-size: 16px;
  color: #333;
  line-height: 1.8;
  margin: 0 0 15px 0;
  text-align: left;
  margin-bottom:0;
  width:32em;
}

#mt-flow{
  margin-bottom:70px;
}

#mt-flow .flow-title-wrap p{
    width:100%;
}

.flow-wrap .col-100-1st p{
  display:block;
  width: 30em;
}

/* 画像（右端に配置） */
.flow-wrap .col-100 img {
  max-width: 150px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  justify-self: end; /* 右端に寄せる */
  align-self: start;
}

.flow-wrap .col-100-1st img{
  max-width:250px;
}

/* 問い合わせエリア */
.contact-area {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f7f7f7;
  padding: 20px 30px;
  border-radius: 10px;
  margin-top: 25px;
  width: 100%;
}

.contact-left{
  border-right:1px solid #A7A7A7;
}
.contact-left p {
  margin: 0;
  font-size: 14px;
  color: #333;
}

.flow-wrap .col-100-1st .contact-left p{
  width: 14em;
}

.contact-left p:first-child{
  font-size:32px;
}

.contact-left p:last-child{
  font-size:14px;
  width:24.5em !important;
}

.contact-right a {
  display: inline-block;
  padding: 10px 40px;
  background: #D92424;
  color: #fff;
  border-radius: 25px;
  text-decoration: none;
}

.contact-right a:hover {
  opacity: 0.85;
}

.col-100-1st{
  display:flex;
  justify-content: space-between;
}

.flow-wrap .col-100 {
  position: relative;
}

/* 各カードの下に下三角を表示 */
.flow-wrap .col-100:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 20px solid #848484;
  z-index: 1;
}

/* カードの余白を少し増やして三角が重ならないように */
.flow-wrap .col-100 {
  margin-bottom: 30px; /* 三角分のスペースを確保 */
}


.voice {
  background: url("img/metal-back-img.jpg") center/cover no-repeat;
  color: #fff;
  padding:80px 0;
}

#lg-voice{
  background: url("img/lg-voice-01.png") bottom/cover no-repeat;
}

.voice .col-40 img{
  width:100%;
}

.voice .row{
  justify-content: space-between;
}

.voice .row .hukidashi{
  padding:40px;
  background-color:white;
  color:#000;
  border-radius:20px;
  position:relative;
}

.voice .row .hukidashi::after{
  content: "";
  position: absolute;
  left: -35px; /* 三角が大きくなるので位置も少し調整 */
  top: 50px;
  width: 0;
  height: 0;
  border-top: 40px solid transparent;
  border-bottom: 40px solid transparent;
  border-right: 40px solid #ffffff; /* 吹き出しと同じ背景色 */
}

.voice .row .hukidashi h3{
  font-size:28px;
}
.voice .row .hukidashi p{
  font-size:20px;
}

.voice .row .col-60 h2{
  background-color:#848484;
  padding:15px 30px 10px 30px;
  text-align:left;
  color:white;
  border-radius:50px;
  margin-bottom:30px;
  position:relative;
}

.voice .row .col-60 h2 img{
  width:55px;
  margin-left:15px;
  display: inline-block;
  vertical-align: middle;
}

.items-area{
  width:100%;
  background-color:#F4F4F4;
  padding:180px 0 100px 0;
}

.items-area .row .col-100{
  text-align:center;
  position:relative;
}

.items-area .row .col-100::before{
  content:'';
  background: url("img/metal-icon-logo.png") center/cover no-repeat;
  position:absolute;
  top:-50px;
  left:50%;
  transform: translate(-50%, -50%);
  width:70px;
  height:70px;
}

#lg-items .row .col-100::before{
  background: url("img/logi-icon-logo.png") center/cover no-repeat;
  border:2px solid #D92424;
  border-radius:50%;
}

#mt-items .txt-area{
  width:100%;
}

.items-area .row .col-100 h2{
  font-size:28px;
  margin-bottom:5px;
}

.items-area .items-wrapper{
  flex-wrap: wrap;
  justify-content: space-between;
  text-align:center;
}

.items-area .items-wrapper .col-25{
  padding:20px 0;
}

.items-area .items-wrapper .col-25 img{
  width:50%;
}

.items-area .txt-wrapper{
  width:100%;
  justify-content: center;
}

.title-wrapper{
  border:none !important;
  box-shadow: none !important;
  text-align:center;
  padding:0 !important;
  margin:0 !important;
}

#title-wrapper02{
  margin: 50px 0 70px 0;
  text-align:center;
}

.title-wrapper h2{
  font-size:28px;
}

.title-wrapper p{
  text-align:center !important;
  width:100% !important;
  margin-top:5px !important;
}

.works-wrapper{
  padding:100px 0 0 0;
}

.works-wrapper img{
  width:100%;
}

.works-wrapper .col-30,.works-wrapper .col-60{
  margin-left:50px;
}

.works-wrapper .col-30 a,.works-wrapper .col-60 a{
  width:100%;
  padding:20px 0;
  font-size:22px;
  background-color:white;
  border:1px solid #D1D1D1;
  color:#000;
  display:block;
  text-align:center;
  border-radius:20px;
  margin-bottom:30px;
}

.works-wrapper .row{
  align-items: center;
  vertical-align: middle;
  flex-wrap:wrap;
  justify-content: center;
}

.works-wrapper .row .col-60 .row{
  justify-content: space-between;
}

#area-select{
  margin-top:100px;
}

.col-60 .row{
  flex-wrap: wrap;
}

.back-to-japan,.back-to-tohoku{
  background-color:#D1D1D1 !important;
  font-size: 20px !important;;
}

/* 施工実績スライダーのスタイル */
.works-slider {
  margin-top: 60px;
  margin-bottom: 100px;
}

.works-slider .slider img {
  width: 100%;
  height: 300px; /* 固定高 */
  object-fit: cover; /* トリミングして埋める */
  border-radius: 10px;
}

.slick-dots {
  bottom: -25px;
}

.slick-prev:before,
.slick-next:before {
  color: #333; /* 矢印色 */
}

.works-slider .slider img{
  width:100%;
}

.works-slider .slider div{
  height:300px !important;
  margin:0 10px;
}

.works-slider .slider{
    height:300px !important;
}

.works-area .row{
  flex-wrap:wrap;
}

/* ベースエリア */
.works-area {
  background: #f9f9f9;
  padding: 100px 0;
  margin-top:60px;
  margin-bottom:60px;
}

/* コンテナとレイアウト */
.works-area .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.works-area .row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.works-area .col-100 {
  width: 100%;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 40px 50px;
  transition: box-shadow 0.3s ease;
}

.works-area .col-100:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* h3（地方ブロック） */
.works-area .col-100 h3 {
  font-size: 28px;
  font-weight: 700;
  color: #000;
  border-left: 8px solid #D92424;
  padding-left: 15px;
  margin-bottom: 25px;
}

/* h4（県名） */
.works-area .col-100 h4 {
  font-size: 22px;
  color: #000;
  border-bottom: 2px solid #eee;
  padding-bottom: 6px;
  margin-top: 35px;
}

/* h5（地域名） */
.works-area .col-100 h5 {
  font-size: 19px;
  color: #000;
  margin: 20px 0 10px;
  padding-left: 10px;
  border-left: 4px solid #ccc;
}

/* リスト */
.works-area .col-100 ul {
  margin-top: 10px;
  margin-bottom: 20px;
  padding-left: 25px;
  list-style: none;
}

.works-area .col-100 ul li {
  font-size: 17px;
  color: #000;
  line-height: 1.8em;
  position: relative;
  padding-left: 20px;
}

.works-area .col-100 ul li::before {
  content: "•";
  color: #D92424;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.works-top-section{
  padding-top:0 !important;
}

.works-top-section #area-select{
  margin-top:50px;
}

.greeting-wrapper,.mission-wrapper{
  margin-top:80px;
}

.greeting-wrapper .col-100 h2,.mission-wrapper .col-100 h2,.history-wrapper .col-100 h2,.company-info-wrapper .col-100 h2,.partners-wrapper .col-100 h2,.accsess-wrapper .col-100 h2,.recruit-wrapper .col-100 h2,.privacy-wrapper .col-100 h2{
  width:100%;
  border-bottom:2px solid #D92424;
  font-size:32px;
  padding-bottom:10px;
  margin-bottom:10px;
  letter-spacing:.05em;
}

.history-wrapper .col-100 h2{
  margin-top:50px;
}

.greeting-wrapper .sub-title,.mission-wrapper .sub-title,.company-info-wrapper .sub-title,.partners-wrapper .sub-title,.accsess-wrapper .sub-title,.recruit-wrapper .sub-title,.privacy-wrapper .sub-title{
  margin-bottom:40px;
}

.greeting-wrapper p,.mission-wrapper p{
  font-size:20px;
  line-height:2.2em;
}

.greeting-wrapper img{
  width:100%;
}

.greeting-wrapper .row,.mission-wrapper .row{
  justify-content: space-between;
}

.mission-wrapper h3{
  font-size:22px;
  padding:15px 30px;
}

.mission-title-wrap{
  border:1px solid #D92424;
  border-radius:10px;
  width:100%;
}

.mission-wrapper .mission-title-wrap+p{
  padding-left:30px;
  margin-bottom:50px;
}

.history-wrapper{
  background-color:#F4F4F4;
}

.history-wrapper .col-30 img{
  width:100%;
  margin-bottom:70px;
  border-radius: 20px;
}

.history-wrapper .col-80{
  margin-left:70px;
  position:relative;
}

.history-wrapper .col-80::after{
  position:absolute;
  border:1px solid #e3e3e3;
  left: 175px;
  top: 5px;
  height: 100%;
  content:'';
}

.history-wrapper .col-80 dl{
  margin-bottom:40px;
  vertical-align: top;
}

.history-wrapper .col-80 dl dd{
  display:inline-block;
  width:20%;
  font-size:20px;
  font-weight:bold;
  vertical-align: top;
  line-height:2.2em;
  margin-left: 0;
  letter-spacing:.1em;
}

.history-wrapper .col-80 dl dt{
  display: inline-block;
  width: 72%;
  font-size: 20px;
  vertical-align: top;
  line-height: 2em;
  text-align: justify;
  margin-left: 30px;
  letter-spacing:.05em;
}

.history-content{
  margin-top:70px;
}

.grd-gray{
  width:100%;
  height:100px;
  background-image: linear-gradient(#ffffff, #f4f4f4);
  margin-top:50px;
}

.grd-gray-reverse{
  width:100%;
  height:100px;
  background-image: linear-gradient(0deg, #ffffff, #f4f4f4);
  margin-bottom:80px;
}

.company-info-wrapper table,.recruit-wrapper table,.single table,.contact-wrapper table{
  width:100%;
  margin-top:30px;
  border-collapse: separate;
  border-spacing: 15px 0px;
  margin-bottom:100px;
}

.recruit-wrapper table,.single table{
  border-spacing: 0px;
}

.contact-wrapper table{
  margin-bottom:15px;
}

.company-info-wrapper table tr td:first-child,.recruit-wrapper table tr td:first-child,.single table tr td:first-child,.contact-wrapper table tr td:first-child{
  width:20%;
  border-top:2px solid #B9B9B9;
  padding:25px 35px;
  font-size:20px;
  letter-spacing:.05em;
}

.contact-wrapper table tr td:first-child{
  width:30%;
  border-top:2px solid #B9B9B9;
}



.company-info-wrapper table tr td:last-child,.recruit-wrapper table tr td:last-child,.single table tr td:last-child,.contact-wrapper table tr td:last-child{
  width:60%;
  border-top:1px solid #D9D9DA;
  padding:25px 40px;
  font-size:20px;
  margin-left:10px;
  letter-spacing:.05em;
  line-height:1.8em;
}

.company-info-wrapper table tr:last-child td:first-child,.recruit-wrapper table tr:last-child td:first-child,.single table tr:last-child td:first-child,.contact-wrapper table .last td:first-child{
  border-bottom:2px solid #B9B9B9;
}

.company-info-wrapper table tr:last-child td:last-child,.recruit-wrapper table tr:last-child td:last-child,.single table tr:last-child td:last-child,.contact-wrapper table .last td:last-child{
  border-bottom:1px solid #D9D9DA;
}

.partners-wrapper{
  margin-bottom:100px;
}

.partners-wrapper table{
  width:100%;
  border-spacing: 15px 0px;
}

.partners-wrapper table tr:first-child td{
  border-top:1px solid #D1D1D1;
}

.partners-wrapper table tr td{
  border-bottom:1px solid #D1D1D1;
  padding:25px 40px;
  position:relative;
  width:33%;
  font-size:20px;
  letter-spacing:.05em;
}

.partners-wrapper table tr td:before{
  content: "";
  position: absolute;
  left: 5px;   /* テキストとの距離を調整 */
  top: 50%;
  transform: translateY(-50%) rotate(45deg); /* くの字っぽく傾ける */
  width: 10px;
  height: 10px;
  border-top: 1px solid #999;
  border-right: 1px solid #999;
}

.partners-wrapper .row{
  flex-wrap:wrap;
}

.partners-wrapper .row .txt-right{
  font-size:12px;
  font-weight:normal;
  margin-top:5px;
  color:#1A1311;
  margin-right:15px;
}

.partners-wrapper table tr:last-child td:last-child{
  display:none;
}

.accsess-wrapper{
  margin-bottom:100px;
}

.recruit-top-wrapper{
  margin-bottom:100px;
}

.recruit-top-wrapper .col-40 img{
  width:100%;
}

.recruit-top-wrapper .row{
  justify-content: space-between;
}

.recruit-top-wrapper h2{
  font-size:26px;
  line-height:1.6em;
}

.recruit-top-wrapper p,.interview-wrapper p{
  font-size:20px;
  line-height:2.2em;
}

.interview-wrapper{
  justify-content: space-between;
  margin-top:50px;
}

.interview-wrapper img{
  width:100%;
}

.interview-wrapper h3{
  font-size:26px;
  padding-bottom:20px;
  border-bottom:1px solid #D1D1D1;
  letter-spacing:.05em;
}

.interview-wrapper span{
  padding:10px 25px;
  margin-bottom:30px;
  display:inline-block;
  color:white;
  font-size:20px;
}

#eigyo span{
  background-color:#227CAA;
}

#reform span{
  background-color:#FBD700;
  color:#000;
}

#zimu span{
  background-color:#FC6A97;
}

#logi span{
  background-color:#D92424;
}

#keri span{
  background-color:#22AA51;
}

#sekkei span{
  background-color:#FBAD69;
}

.recruit-wrapper table tr td{
  line-height:2em;
}

.recruit-wrapper table tr td div{
  margin-bottom:30px;
  font-size:16px;
  font-weight:normal;
}

.recruit-wrapper table tr td span{
  font-size:22px;
  font-weight:bold;
}

.recruit-wrapper .red-btn{
  margin-top:0;
}

.privacy-wrapper{
  margin-bottom:100px;
}

.privacy-wrapper h3{
  font-size:24px;
  padding-bottom:15px;
  margin-bottom:20px;
  width:100%;
  border-bottom:1px solid #D1D1D1;
  margin-top:75px;
}

.contact-wrapper .row .col-100{
  width:100%;
}

.contact-top-area p{
  font-size:20px;
}

.archive #news-section{
  padding-top:0;
}

.single .single-content{
  margin-bottom:100px;
}

.single .single-content img{
  width:100%;
}

.single .single-content .row{
  justify-content: space-between;
  margin:50px 0;
}

.single .single-content p{
  font-size:20px;
  margin-bottom:50px;
}

.single .title-wrapper02{
  margin-bottom:10px;
}

.single .date-wrapper p{
  font-size:12px;
  color:#848484;
  margin-bottom:20px;
}

.tag-wrapper .tag-link a{
  font-size:16px;
  padding:7px 20px 7px 40px;
  color:#000;
  border:1px solid #848484;
  border-radius:25px;
  width:100px;
  position:relative;
  margin-right:10px;
}

.tag-wrapper .tag-link a:hover{
  background-color:#d5d5d5;
  opacity:1;
}

.tag-wrapper .tag-link a::before{
  content:'';
  position:absolute;
  background: url("img/tag-icon.png") center/cover no-repeat;
  top: 5px;
  left: 22px;
  width: 13px;
  height: 20px;
}

.no-article{
  padding:100px 0;
}

.archive-reform-wrapper .row{
  justify-content: space-between;
  align-items: stretch; /* 高さを揃える */
  padding-bottom:100px;
  border-bottom:1px solid #848484;
  margin-bottom:100px;
}

.archive-reform-wrapper .row .col-40 {
  display: flex;
  flex-direction: column; /* 縦方向に並べる */
  justify-content: space-between; /* 上と下に分ける */
}

.archive-reform-wrapper .row .col-40 .link-btn {
  align-self: flex-start; /* 左寄せ（中央にしたい場合は center） */
  margin-top: auto;       /* 上の要素を押し上げる */
  text-decoration: none;
  color: #D92424;         /* リンク色を指定 */
  font-weight: bold;
  border:1px solid #D92424;
}

.archive-reform-wrapper .row .col-40 .reform-text{
  padding:7px 20px;
  font-size:20px;
  background-color:#D92424;
  color:white;
  display:inline-block;
  margin-bottom:20px;
  width:100px;
  text-align:center;
}

.archive-reform-wrapper .row .col-40 h2{
  font-size:28px;
  line-height:1.6em;
  margin-bottom:20px;
}

.thumbnail-area {
  width: 100%;
  height: 500px;
  overflow: hidden;         /* はみ出した部分を非表示に */
  position: relative;       /* 中央寄せ用の基準 */
  border-radius: 8px;       /* 任意。角丸をつけたい場合 */
}

.thumbnail-area img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;        /* トリミングしてフィット */
  transform: translate(-50%, -50%);
}

.archive-reform-wrapper .row .col-40 .link-btn{
  width:100%;
  color:#D92424;
  padding:10px 0;
  border:1px solid #D92424;
  text-align:center;
  font-size:20px;
}

.archive-reform-wrapper .row .col-40 .link-btn:hover{
  background-color:#D92424;
  opacity:1;
  color:white;
}

.reform-works-img{
  margin-top:30px;
  justify-content: space-between;
}

.reform-works-img img{
  width:100%;
  border-radius:25px;
}

.reform-works-img .col-50{
  position:relative;
}

.reform-works-img .col-50::after{
  position: absolute;
  content: 'NEW';
  padding: 10px;
  text-align: center;
  width: 100px;
  color: white;
  background-color: #D92424;
  top: 20px;
  left: 0;
  font-size: 20px;
}

.reform-mid-area{
  margin-top:50px;
  position:relative;
  margin-bottom:200px;
}

.reform-mid-area::after{
  content: "";
  position: absolute;
  bottom: -100px; /* 三角を下に配置 */
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-top: 40px solid #000000; /* 三角の色（borderの色と合わせる） */
  z-index: 1;
}

.reform-white-area,.logi-white-area{
  background-color:white;
  padding:70px;
  flex-wrap:wrap;
  justify-content: space-between;
  border-radius:20px;
  margin-bottom:50px;
}



.reform-white-area .col-100{
  text-align:center;
  margin-bottom:40px;
}

.reform-white-area .col-100 img{
  width:65px;
  margin-bottom:10px;
}

.reform-white-area .col-30 h3{
  text-align:center;
  font-size:22px;
  margin-bottom:20px;
  padding-bottom:20px;
  width:100%;
  border-bottom:1px solid #848484;
  line-height:1.6em;
}

.reform-white-area .col-30 .number{
  display:block;
  text-align:center;
  font-size:60px;
  font-style: normal;
  margin-bottom:10px;
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
  font-weight:bold;
}

.highlight {
  position: relative;
  z-index: 0;
}

.highlight::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2em;                   /* 文字の少し下を通す */
  width: 100%;
  height: 0.4em;                    /* マーカーの太さ */
  background: #fff067;              /* 蛍光イエロー */
  z-index: -1;
  transform: rotate(-1deg);         /* わずかに傾けて自然に */
  border-radius: 0.15em;
  box-shadow: 0 1px 1px rgba(0,0,0,0.05);
}

.member-wrapper{
  flex-wrap:wrap;
  justify-content: space-between;
}

.member-wrapper .col-100 p{
  font-size:28px;
  text-align:center;
}

.member-wrapper .col-25 img{
  width:100%;
}

.items-area.r-items-area .items-wrapper img{
  width:160px;
  margin-bottom:20px;
}

.items-area.r-items-area .items-wrapper a{
  color:#000;
}

.items-area.r-items-area .col-100 .txt-center{
  margin-top:100px;
}

.items-area.r-items-area .row .col-100::before{
  background: url(img/reform-icon-logo.png) center / cover no-repeat;
}


.works-wrapper.reform-works-wrapper .row{
  flex-wrap:wrap;
  justify-content: space-between;
}

.works-wrapper.reform-works-wrapper .title-wrapper{
  margin-bottom:50px !important;
}

.works-wrapper.reform-works-wrapper .reform-image-area {
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.works-wrapper.reform-works-wrapper .reform-image-area img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 縦横比を保ちながら切り抜き表示 */
  display: block;
}

.maker-wrapper.container .title-wrapper{
  margin-bottom:50px !important;
  margin-top:50px !important;
}

.maker-wrapper.container .col-100 h3{
  width:100%;
  padding-bottom:10px;
  border-bottom:2px solid #FBCE01;
  text-align:center;
  margin-bottom:30px;
}

.maker-wrapper.container .row{
  flex-wrap:wrap;
}

.maker-wrapper.container .col-100 img{
  height:60px;
  margin:10px;
}

.maker-logo-wrapper{
  text-align:center;
  margin-bottom:50px;
}

.mk-lg-wrap div{
  margin-bottom:20px;
}

.mk-lg-wrap img{
  height:30px !important;
  margin:15px 25px !important;
}

/*スライダー=====================================================*/

.carousel-3d-wrapper {
  width: 350px;
  height: 500px;
  margin: 50px auto;
  perspective: 1200px;
  position: relative;
}

.carousel-3d-track {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 1s ease;
}

.slide {
  position: absolute;
  width: 240px;
  height: 320px;
  left: 55px;
  top: 70px;
  border-radius: 15px;
  line-height: 620px;
  text-align: center;
  font-size: 2em;
  color: #fff;
  transition: transform 0.5s, opacity 0.5s;
}

.slide a{
  height:365px;
  display:block;
  position:relative;
}

.slide img{
  width:100%;
}

.slide h3{
  font-size:14px;
  text-align:center;
  line-height:1em;
  color:#000;
  position:absolute;
  bottom:-10px;
  left:50%;
  transform: translate(-50%, -50%);
  width:100%;
}

.arrow {
  position: absolute;
  top: 45%;
  transform: translate(-50%, -50%);
  font-size: 30px;
  background: #D92424;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  cursor: pointer;
  z-index: 10;
}

.arrow.left { left: -300px; }
.arrow.right { right: -350px; }

/* 左矢印 */
.arrow.left::before,
.arrow.left::after {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 2px;
}
.arrow.left::before {
  width: 20px;
  height: 3px;
  transform: rotate(45deg);
  top: 35px;
  left: 20px;
}
.arrow.left::after {
  width: 20px;
  height: 3px;
  transform: rotate(-45deg);
  top: 23px;
  left: 20px;
}

/* 右矢印 */
.arrow.right::before,
.arrow.right::after {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 2px;
}
.arrow.right::before {
  width: 20px;
  height: 3px;
  transform: rotate(-45deg);
  top: 35px;
  left: 20px;
}
.arrow.right::after {
  width: 20px;
  height: 3px;
  transform: rotate(45deg);
  top: 23px;
  left: 20px;
}

/* ホバー */
.arrow:hover { background: rgba(0,0,0,0.7); }

.arrow:hover { background: rgba(0,0,0,0.7); }

.single-content{
  padding:100px 0;
}

.single .wp-block-table td,.single .wp-block-table th{
  border: 0px solid;
}

.single .single-content .wp-block-preformatted{
  font-size:20px;
  line-height:1.8em;
}

.member-wrapper .col-20 img{
  width:100%;
}

#works-content{
  margin-bottom:100px;
}

#works-content .row{
  justify-content: space-between;
}

#works-content .row .col-50 img{
  width:100%;
}

#works-content .row .col-50 h2,#works-content .row .col-50 .sub-title{
  text-align:center;
  width:100%;
}

#works-content .row .col-50 h2{
  margin-top:40px;
  font-size:28px;
}

#works-content .row .col-50 .sub-title{
  border-bottom:1px solid #D1D1D1;
  padding-bottom:40px;
  margin-bottom:20px;
}

#works-content .row .col-50 .red-btn{
  width:100%;
  text-align:center;
  padding-left:0;
  padding-right:0;
}

td.txt-field input{
  width:100%;
  height:35px;
}

td textarea{
  width:100%;
}

td .mwform-radio-field{
  display:block;
}

.mw_wp_form .horizontal-item + .horizontal-item {
    margin-left: 0;
}

.mwform-tel-field input[type="text"], .mwform-zip-field input[type="text"] {
    width: 100px;
    height:35px;
}

.contact-wrapper td.bold{
  position:relative;
}

.hissu{
  color:white;
  background-color:#D92424;
  padding:5px 20px;
  display:inline-block;
  text-align:right;
  font-size:14px;
  position:absolute;
  right:0;
  top:50%;
  transform: translateY(-50%);
}

.privacy-wrapper .mwform-checkbox-field{
  display:block;
}

.privacy-wrapper .privacy{
  margin:0;
  font-size:14px;
}

button{
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;
}

.privacy-wrapper button{
  width:300px;
  background-color:#D92424;
  color:white;
  padding:20px 0;
  font-size:22px;
  font-weight:bold;
  border-radius:10px;
  margin-top:30px;
}

.privacy-wrapper .mwform-checkbox-field label{
  font-size:14px;
}

/* ===== 検索結果ページ ===== */

.search-wrapper {
  padding: 200px 0 100px 0;
}

.search-title {
  font-size: 1.8rem;
  margin-bottom: 40px;
  border-bottom: 2px solid #ccc;
  padding-bottom: 10px;
}

/* ▼ Flexで横並びにする */
.search-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 30px; /* アイテム間の余白 */
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ▼ 各アイテムを1行3つに調整 */
.search-item {
  width: calc(33.333% - 20px); /* 3列用：gap分を少し引く */
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.search-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.search-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.search-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.search-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.search-item-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #333;
  line-height: 1.4;
}

.search-readmore {
  font-size: 0.9rem;
  font-weight: bold;
  color: #0073aa;
}

.no-results {
  font-size: 1rem;
  text-align: center;
  color: #666;
  margin-top: 60px;
}
/*404のスタイル===============**/
.er-wrapper {
  padding: 240px 0 150px 0;
  text-align: center;
}

.error-content {
  max-width: 600px;
  margin: 0 auto;
}

.error-title {
  font-size: 6rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
}

.error-subtitle {
  font-size: 1.5rem;
  color: #555;
  margin-bottom: 15px;
}

.error-text {
  font-size: 1rem;
  color: #777;
  margin-bottom: 30px;
  line-height: 1.6;
}

.error-button {
  display: inline-block;
  padding: 12px 30px;
  background-color: #D92424;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.search-page-wrapper{
  padding:120px 0 150px 0;
}

.error-button:hover {
  background-color: #005f88;
}


.search-page-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.search-bar-wrapper {
  margin-top: 40px;
}

.search-form {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.search-field {
  width: 70%;
  padding: 12px 15px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
}

.search-field:focus {
  border-color: #0073aa;
}

.search-submit {
  padding: 12px 25px;
  font-size: 1rem;
  background-color: #0073aa;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.search-submit:hover {
  background-color: #005f88;
}

.privacy-wrapper input.back{
  width: 300px;
  background-color: #7a7a7a;
  color: white;
  padding: 20px 0;
  font-size: 22px;
  font-weight: bold;
  border-radius: 10px;
  margin-top: 30px;
  display:block;
  margin: 30px auto 0 auto;
  border: none;
  cursor: pointer;
}

.contact-left .tel-icon{
  margin-right:10px;
  padding-left:10px;
}

/* --- S-GRAM グリッド（4カラム版） --- */
.sgram-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4カラムに変更 */
    grid-gap: 20px;
}

/* --- 各アイテム --- */
.sgram-item {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* --- 正方形サムネイルボックス --- */
.sgram-thumb {
    width: 100%;
    aspect-ratio: 1 / 1; /* 正方形を維持 */
    overflow: hidden;
    border-radius: 6px;
}

/* --- 画像を中央でトリミングして fill --- */
.sgram-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* --- タイトル --- */
.sgram-title {
    margin-top: 20px;
    font-size: 16px;
    text-align: left;
    line-height: 1.3;
}

.sgram-archive-wrapper{
  padding-bottom:100px;
}

.s-gram-bnr-area .row .col-100{
  width:50%;
  margin: 0 auto;
  margin-bottom: 60px;
}

.s-gram-bnr-area img{
  width:100%;
}

/* wrapper（枠）を固定サイズにして中央配置 */
.reform-works-img {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* 各アイテム */
.reform-item {
    flex: 0 0 calc(50% - 10px);  /* 2列表示 */
    box-sizing: border-box;
    text-align: center;
}

/* サムネイル枠 */
.reform-thumb {
    width: 100%;
    height: 350px;          /* 高さ固定 */
    overflow: hidden;       /* はみ出した部分を隠す */
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;    /* 画像を中央に配置 */
}

/* 画像 */
.reform-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;      /* 枠に収まるよう中央で切り抜き */
    object-position: center;
    display: block;
}

/* タイトル */
.reform-title {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.3;
}


/* サムネイルをrelativeにして疑似要素を配置 */
.reform-thumb {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* NEWラベルを疑似要素で追加 */
.reform-item:first-child .reform-thumb::before,
.reform-item:nth-child(2) .reform-thumb::before {
    content: "NEW";               /* 表示文字 */
    position: absolute;
    top: 20px;
    left: 0;
    background-color: #D92424;    /* 赤背景 */
    color: #fff;                   /* 白文字 */
    font-size: 20px;
    font-weight: bold;
    padding: 4px 20px;             /* 横長 */
    z-index: 10;
}

.acv-sg-date{
  font-size:12px;
  color:#848484;
  margin-top:0 !important;
}

/*ここからレスポンシブ===========================================================================================================================*/

@media screen and (max-width:1800px) {
.slider-title{
  font-size:68px;
}

.slider-subtitle {
  font-size: 20px;
}

}

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

#g-nav ul {
  right: 150px;
}

#g-nav li {
  font-size: 20px;
  margin-right: 20px;
  }

.reform .copy-area {
    width: 400px;
}
.main-img-area.metal h2, .main-business-area.metal h2, .main-business-area.reform h2, .main-business-area.logi h2 {
    font-size: 26px;
    line-height: 1.6em;
}

.metal .copy-area {
    padding: 40px 50px;
}
}

/*ここまでレスポンシブ===========================================================================================================================*/