@charset "UTF-8";
/*-------------------------------------------
Common
-------------------------------------------*/
html {
  font-size: 62.5%; 
}

body {
  background-color: #000;
  color: #333;
  font-size: 1.6rem;
  font-family:
    "Yu Gothic","Hiragino Kaku Gothic ProN",
    "Hiragino Kaku Gothic Pro","Noto Sans JP",
    sans-serif;
  font-weight: 400;
}

.yumincho {
  font-family:
    "Yu Mincho","Hiragino Mincho ProN",
    "Hiragino Mincho Pro","Noto Serif JP",serif;
}

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

p {
  color: #FFF;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  vertical-align: bottom;
}

.l-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.l-container-1040 {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ボタン本体 */
.btn-line {
  position: relative;
  display: inline-flex;
  padding: 17px 50px;
  margin-top: 20px;
  border: 1px solid #FFF;
  align-items: center;
  overflow: hidden; /* はみ出し防止 */
}

/* 背景用レイヤー */
.btn-line::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #16459C;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
  z-index: 0;
}

/* hoverで背景展開 */
.btn-line:hover::before {
  transform: scaleX(1);
}

.btn-line a {
  position: relative;
  display: block;
  width: 273px;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
}

.btn-line a::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 27px;
  width: 17px;
  height: 17px;
  margin: auto;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  box-sizing: border-box;
}

.company .section-box .btn-line:hover a {
  color: #FFF;
}

.company .section-box .btn-line:hover a::after {
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

.top-page .btn-line:hover {
  background-color: #000;
  border: none;
}
/* スマホ時改行する */
.sp {
	display:none;
}
/*-------------------------------------------
Header
-------------------------------------------*/
#header {
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: background-color 0.3s ease;
  position: fixed;
  color: #FFF;
}

#header.is-scrolled {
  background-color: #000;
}

.header-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 20px;
}

#header .logo {
  width: 268px;
}

/* PCではSP用を非表示 */
.sp-only {
  display: none;
}

.navi ul {
  display: flex;
  gap: 35px;
}

.btn-contact {
  background-color: #154599;
  padding:18px 32px;
  font-size: 2rem;
} 

/*-------------------------------------------
Mainvisual
-------------------------------------------*/
/* mv */
.mainvisual {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* 動画 */
.mv-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 暗くするオーバーレイ */
.mv-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

/* テキスト */
.mv-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 10%;
  color: #fff;
}

.mv-content h1 {
  font-size: clamp(28px, 3vw, 40px);
  color: #FFF;
  font-family: YuMincho;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 4px;
}

/*-------------------------------------------
新着情報
-------------------------------------------*/
#news {
  padding: 30px 0;
  color: #FFF;
  text-align: left;
  display: flex;
  gap: 15px;
}

#news h2 {
  font-size: 1.6rem;
}

#news span {
  font-size: 1.2rem;
  font-weight: 500;
}

#news span dd {
  font-size: 1.4rem;
}

.article-content {
  display: flex;
  gap: 12px;
}

#news li {
  margin-bottom: 13px;
}

.article-content .tag {
  background-color: #154599;
  padding: 5px 27px;
}

#news .news-btn {
  font-size: 1.2rem;
}

/*-------------------------------------------
セクション
-------------------------------------------*/
/* 共通 */
.section-box h2 {
  color: #FFF;
  font-family:
  "Yu Mincho","Hiragino Mincho ProN",
  "Hiragino Mincho Pro","Noto Serif JP",serif;
  font-weight: 500;
  font-size: 3rem;
  margin-bottom: 28px;
}

.section-box p {
  line-height: 1.7;
  font-size: 1.8rem;
  text-align: left;
}

.section-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  align-items: center;
  display: flex;
}
.section {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: end;
}

.bg-business { background-image: url(../img/top-bg-1.jpg); }
.bg-equipment { background-image: url(../img/top-bg-2.jpg); }
.bg-result { background-image: url(../img/top-bg-3.jpg); }
.bg-company { background-image: url(../img/top-bg-4.jpg); }

.section-box {
  position: relative;
  max-width: 600px;
  padding: 40px;
  margin-left: auto;
  text-align: center;
}

/* 設備案内 */
#equipment .section-box {
  margin-left: 0;
  margin-right: 0;
}

/* 加工実績 */
#works {
  height: 930px;
}

#works .section-box {
  padding: 40px 40px 0 40px;
}

#works .bg-result {
  display: grid;
}

/* スライダー全体 */
.carousel {
  overflow: hidden;
  width: 100%;
  margin-top: -15%;
}

/* 横並びエリア */
.carousel-area {
  display: flex;
  gap: 8px;
  animation: slide 40s linear infinite;
  width: max-content; /* 中身のサイズに合わせる */
}

/* 各スライド */
.carousel-list {
  flex: 0 0 auto;
  flex-shrink: 0;
  list-style: none;
}

.carousel-img {
    display: block;
    width: 240px;
    height: 180px;
}

/* 横に流すアニメーション */
@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* 6つの力 */
.strength {
  background: #000;
  color: #fff;
  padding: 100px 0;
}

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

.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 600;
}

.section-title span {
  margin-left: 8px;
}

.section-lead {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.8;
  color: #ddd;
}

.strength-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.strength-item {
  position: relative;
  background: #000;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.strength-image {
  position: relative;
}

.strength-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-top: 68px solid #16459C;
  border-right: 68px solid transparent;
  z-index: 2;
}

.strength-item:nth-child(1) .strength-image::after { content: "1"; }
.strength-item:nth-child(2) .strength-image::after { content: "2"; }
.strength-item:nth-child(3) .strength-image::after { content: "3"; }
.strength-item:nth-child(4) .strength-image::after { content: "4"; }
.strength-item:nth-child(5) .strength-image::after { content: "5"; }
.strength-item:nth-child(6) .strength-image::after { content: "6"; }

.strength-image::after {
  position: absolute;
  top: 10px;
  left: 12px;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  z-index: 3;
}

.strength-image h3 {
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  margin:0;
  padding:0;
  font-size: 3.2rem;
  font-weight: 700;
  white-space: nowrap;
  text-align: center;
}

.strength-image img {
  width: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.85;
}

.h3-sub {
  font-size: 1.6rem;
  display: block;
}

.strength-content {
  background: #fff;
  padding: 0 26px;
  margin-top: auto;
  min-height: 97px;
  display: flex;
  align-items: center;  
}

.strength-content p {
  color: #333;
  font-weight: 700;
}
/* 会社案内 */
.company .section-box {
  margin: 0 auto;
  text-align: center;
  max-width: 885px;
  background: rgba(255, 255, 255, 0.76);
}

.company .section-box p,.company .section-box h2 {
  color: #333;
  text-align: left;
}

.company .section-box .btn-line {
  border: #333 1px solid ;
}

.company .section-box .btn-line a {
  color: #333;
}

.company .section-box .btn-line a::after {
  border-top: 2px solid #333;
  border-right: 2px solid #333;
}

.company .l-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* 加工実績 */
/* ===== スライダー ===== */
.works-slider {
  overflow: hidden;
}

.slider-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
}

.slide {
  min-width: 280px;
}

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

/* お問い合わせ */
.conact-box {
  background-color: #FFF;
  padding: 36px 57px;
  margin: 50px auto;
  width: 642px;
}

.conact-box p {
  color: #333;
}

.contact-flex {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 11px;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 11px;
}

.contact-inner {
  gap: 10px;
  display: grid;
}

.contact-number {
  font-size: 2.4rem;
  font-weight: 700;
  margin-left: 4px;
  color: #154599;
  display: flex;
  align-items: center;
}

.contact-btn {
  margin: auto;
}

.contact-btn a {
  border-radius: 6px;
  background: #154599;
  padding: 40px 22px;
}
/*-------------------------------------------
Footer
-------------------------------------------*/
.footer-inner {
  display: flex;
  gap: 150px;
  justify-content: center;
  padding: 45px 0;
}

.footer-box {
  display: grid;
  gap: 24px;
}

.footer .address { 
  margin-bottom: 13px;
}

.footer-navi {
  margin: auto 0;
}

.footer-navi nav {
  display: flex;
  gap: 45px;
}

.footer-navi ul {
  display: grid;
  gap: 24px;
}
.footer-navi li {
  position: relative;
  padding-right: 16px;
  display: flex;
  align-items: center;
}

.footer-navi li::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 7px;
  height: 9px;
  transform: translateY(-50%);
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='9' viewBox='0 0 7 9' fill='none'%3E%3Cpath d='M0.658508 0.752441L4.65851 4.25243L0.658508 7.75244' stroke='white' stroke-width='2'/%3E%3C/svg%3E");
}

.copy {
  text-align: center;
  font-size: 1.4rem;
  padding-bottom: 12px;
}

.footer-box .mark {
  width: 269px;
}

/* =================================================
   SP（768px以下）
================================================= */
@media (max-width: 768px) {

  /* --------------------
    ベース調整
  -------------------- */
  html {
    font-size: 56.25%; /* 1rem = 9px */
  }

  body {
    font-size: 1.4rem;
  }

  .l-container,
  .l-container-1040,
  .inner {
    padding: 0 16px;
  }
/* スマホ時改行する */
.sp {
	display:block;
}
  /* --------------------
    Header
  -------------------- */
  #header {
    position: fixed;
  }

  .header-inner {
    padding: 16px;
    background: #000;
  }

  #header .logo {
    width: 200px;
  }

  .navi {
    display: none; /* SPでは非表示（後でハンバーガー可） */
  }

  /* SPではPC用を非表示 */
  .header-contact,
  .pc-only {
    display: none;
  }

  .sp-only {
    display: block;
  }

  /* ---------- ハンバーガー ---------- */
  .hamburger {
    position: absolute;
    top: 24px;
    right: 16px;
    width: 30px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
  }

  .hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    margin-bottom: 6px;
    transition: all 0.3s ease;
  }

  .hamburger span:last-child {
    margin-bottom: 0;
  }

  /* ×に変形 */
  .hamburger.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.is-open span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* ---------- ナビ ---------- */
  .navi {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 1000;
  }

  .navi ul {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .navi a {
    font-size: 2rem;
  }

  /* 開いた状態 */
  .navi.is-open {
    transform: translateX(0);
  }

  .btn-contact {
    width: 100%;
    text-align: center;
    font-size: 1.6rem;
    padding: 14px 0;
  }

    /* ナビ全体 */
  .navi {
    position: fixed;
    inset: 0;
    background: #000;
    display: none;
    padding: 80px 20px 40px;
    z-index: 999;
  }

  .navi.is-open {
    display: block;
  }

  /* メニューリスト */
  .navi ul {
    display: grid;
    gap: 28px;
    text-align: center;
    margin-bottom: 50px;
  }

  .navi ul li a {
    font-size: 1.8rem;
    letter-spacing: 0.1em;
    color: #fff;
  }

  /* TEL / FAX / お問い合わせ */
  .navi-contact {
    border-top: 1px solid rgba(255,255,255,0.3);
    padding-top: 30px;
    text-align: center;
  }

  .navi-contact p {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: #fff;
  }

  .navi-contact .btn-contact {
    display: inline-block;
    margin-top: 20px;
    padding: 16px 32px;
    font-size: 1.6rem;
    background: #154599;
    color: #fff;
  }

  /* --------------------
    Mainvisual
  -------------------- */
  .mainvisual {
    height: 70vh;
  }

  .mv-content {
    padding-left: 0;
    justify-content: center;
    text-align: center;
  }

  .mv-content h1 {
    font-size: 2.2rem;
    letter-spacing: 2px;
    line-height: 1.6;
  }

  /* --------------------
    新着情報
  -------------------- */
  #news {
    flex-direction: column;
    gap: 10px;
    padding: 30px 16px 0;
  }

  .article-content {
    flex-direction: column;
    gap: 6px;
  }

  .article-content .tag {
    padding: 4px 16px;
    font-size: 1.2rem;
  }

  /* --------------------
    セクション共通
  -------------------- */
  .section {
    height: auto;
    padding: 60px 0;
    justify-content: center;
  }

  .section-bg {
    position: relative;
    padding: 60px 0;
  }

  .section-box {
    margin: 0 auto;
    padding: 32px 20px;
    max-width: 100%;
  }

  .section-box h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
  }

  .section-box p {
    font-size: 1.5rem;
  }

  /* --------------------
    ボタン
  -------------------- */
  .btn-line {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }

  .btn-line a {
    width: 100%;
    font-size: 1.6rem;
  }

  .btn-line a::after {
    right: 16px;
  }

  /* --------------------
    加工実績（スライダー）
  -------------------- */
  #works {
    height: auto;
  }

  .carousel {
    margin-top: 20px;
  }

  .carousel-img {
    width: 200px;
    height: 140px;
  }

  /* --------------------
    6つの力
  -------------------- */
  .strength {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2.4rem;
  }

  .section-lead {
    font-size: 1.3rem;
  }

  .strength-list {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .strength-image h3 {
    font-size: 2.4rem;
  }

  .h3-sub {
    font-size: 1.4rem;
  }

  .strength-content {
    padding: 16px;
  }

  /* --------------------
    会社案内
  -------------------- */
  .company .section-box {
    padding: 32px 20px;
  }

  .company .section-box p,
  .company .section-box h2 {
    text-align: left;
  }

  /* --------------------
    お問い合わせ
  -------------------- */
  .conact-box {
    width: 100%;
    padding: 30px 20px;
  }

  .contact-flex {
    flex-direction: column;
    gap: 20px;
  }

  .contact-number {
    font-size: 2rem;
  }

    /* contact 全体 */
  .contact-inner {
    display: grid;
    gap: 14px;
    justify-items: center;
    text-align: center;
  }

  /* アイコン＋テキストの行 */
  .contact-inner img,
  .contact-inner svg {
    width: 24px;
    height: 24px;
  }

  /* TEL番号 */
  .contact-number {
    font-size: 2rem;
    margin-left: 0;
  }

  /* ボタン */
  .contact-btn a {
    display: inline-block;
    padding: 18px 24px;
    font-size: 1.6rem;
  }

  /* --------------------
    Footer
  -------------------- */
  .footer-inner {
    flex-direction: column;
    gap: 40px;
    padding: 40px 0;
  }

  .footer-box {
    order: 2;
    text-align: center;
    justify-items: center;
  }
  .footer-navi {
    order: 1;
  }

  .footer-navi nav {
    flex-direction: column;
    gap: 16px;
  }

  .footer-navi ul {
    gap: 16px;
    width: 153px;
    margin: 0 auto;
  }

  .copy {
    font-size: 1.2rem;
  }
}
