@charset "UTF-8";
html {
  box-sizing: border-box;
  font-size: 100%; /*1rem = 16px; 100:x = 16:10*/
  font-size: 62.5%; /*1rem = 10px; 100:x = 16:10*/
  scroll-behavior: auto;
}

body {
  font-family: "YuGothic", "游ゴシック", "Noto Serif JP", serif;
  overflow-x: hidden;
}

/* PC・タブレット用余白 */
/* section { 
  margin-bottom: 12rem;
}*/

/* スマホ用余白 */
/* @media (max-width: 768px) { 
  section {
    margin-bottom: 8rem;
  }
}*/

img {
  width: 100%;
  height: auto;
}

body {
  font-family: "YuGothic", "游ゴシック", "Noto Serif JP", serif;
}

.container {
  max-width: 1200px;
  padding: 0 2rem;
  margin: 0 auto;
  box-sizing: content-box;
}

/* ヘッダーメニュー */
#header {
  position: fixed;
  width: 100%;
  background: #fff;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 影で浮かせる */
  margin-bottom: 0;
}

.header-menu {
  margin: 2.4rem 0 0 0;
}

.header-menu-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-select-nav-left {
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-select-nav-left li {
  font-size: 1.6rem;
  font-weight: bold;
  list-style-type: none;
  padding: 0 3rem 0 3rem;
}

.header-select-nav-left li a {
  list-style-type: none;
  text-decoration: none;
  color: #333;
  letter-spacing: 0.1rem;
}

.header-logo img {
  max-width: 25rem;
  height: auto;
}

.header-select-nav-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* お問い合わせ：赤い枠のアウトラインボタン */
.contact-btn {
  color: #333 !important;
  border: 2px solid #e53935;
  padding: 0.6rem 1.8rem;
  border-radius: 999px;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
  position: relative;
  display: inline-block;
  box-shadow: none;
}

/* 下線のアニメーション無効化 */
.contact-btn::after {
  display: none !important;
}

/* ホバー時：赤背景＋白文字に変化 */
.contact-btn:hover {
  background-color: #e53935;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(229, 57, 53, 0.2);
}

.header-select-nav-right li {
  font-size: 1.6rem;
  font-weight: bold;
  list-style-type: none;
  padding: 0 3rem 0 3rem;
}

.header-select-nav-right li a {
  list-style-type: none;
  text-decoration: none;
  color: #333;
  letter-spacing: 0.1rem;
}

.header-select-nav-left li a,
.header-select-nav-right li a {
  list-style-type: none;
  text-decoration: none;
  letter-spacing: 0.1rem;
  position: relative; /* 下線用の擬似要素配置のため */
  transition: all 0.3s ease-in-out;
}

.header-select-nav-left li a:hover,
.header-select-nav-right li a:hover {
  color: #2fb2dc; /* 信頼感のある明るい青 */
  font-weight: bold; /* 文字を少し太く */
}

/* 下線を擬似要素で作成 */
.header-select-nav-left li a::after,
.header-select-nav-right li a::after {
  content: ""; /* 擬似要素を表示 */
  display: block;
  width: 100%;
  height: 2px;
  background-color: #2fb2dc;
  position: absolute;
  bottom: -4px; /* 文字との間に余白を確保 */
  left: 0;
  transform: scaleX(0); /* 初期状態で非表示 */
  transition: transform 0.3s ease-in-out;
}

/* ホバー時に下線を表示 */
.header-select-nav-left li a:hover::after,
.header-select-nav-right li a:hover::after {
  transform: scaleX(1); /* 下線をアニメーション表示 */
}

/* ハンバーガーメニュー */
#navArea {
  display: none;
}

@media (max-width: 1000px) {
  #header {
    display: none;
  }

  #navArea {
    display: block;
  }

  nav {
    display: block;
    position: fixed;
    top: 0;
    left: -300px;
    bottom: 0;
    width: 300px;
    background: #ffffff;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: 0.5s;
    z-index: 3;
  }
  .open nav {
    left: 0;
  }
  nav .inner {
    padding: 25px;
  }
  nav .inner ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  nav .inner ul li {
    position: relative;
    margin: 0;
    border-bottom: 1px solid #333;
  }
  nav .inner ul li a {
    position: relative;
    display: block;
    width: 100%;
    font-size: 1.4rem;
    text-decoration: none;
    padding: 1rem 2rem;
    overflow: hidden;
    z-index: 0;
    transition: color 0.3s ease;
  }

  nav .inner ul li a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(to right, #2fb2dc, #0077b6);
    transition: width 0.5s ease-in-out;
    z-index: -1;
  }

  nav .inner ul li a:hover::before {
    width: 100%;
  }

  nav .inner ul li a span {
    position: relative;
    z-index: 1;
    color: #333;
    transition: color 0.3s ease;
  }

  nav .inner ul li a:hover span {
    color: #fff;
  }

  /*============
@keyframes
=============*/
  @keyframes equalizer01 {
    0% {
      width: 70%;
    }
    10% {
      width: 50%;
    }
    20% {
      width: 100%;
    }
    30% {
      width: 10%;
    }
    40% {
      width: 50%;
    }
    50% {
      width: 70%;
    }
    60% {
      width: 50%;
    }
    70% {
      width: 10%;
    }
    80% {
      width: 100%;
    }
    90% {
      width: 10%;
    }
    100% {
      width: 70%;
    }
  }
  @keyframes equalizer02 {
    0% {
      width: 30%;
    }
    10% {
      width: 20%;
    }
    20% {
      width: 40%;
    }
    30% {
      width: 10%;
    }
    40% {
      width: 20%;
    }
    50% {
      width: 30%;
    }
    60% {
      width: 20%;
    }
    70% {
      width: 10%;
    }
    80% {
      width: 40%;
    }
    90% {
      width: 10%;
    }
    100% {
      width: 30%;
    }
  }
  /*============
.toggle_btn
=============*/
  .toggle_btn {
    display: block;
    position: fixed;
    top: 30px;
    left: 30px;
    width: 60px;
    height: 30px;
    transform: translate(0, 0);
    transition: all 0.5s;
    cursor: pointer;
    z-index: 3;
  }
  .open .toggle_btn {
    left: 330px;
  }
  .toggle_btn span {
    display: block;
    position: absolute;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #666;
    transition: all 0.5s;
  }
  .toggle_btn span:nth-child(1) {
    top: 5px;
    width: 60px;
    animation: equalizer01 7000ms infinite;
  }
  .toggle_btn span:nth-child(2) {
    top: 15px;
    width: 30px;
    animation: equalizer02 5000ms infinite;
    animation-delay: 0.33s;
  }
  .toggle_btn span:nth-child(3) {
    top: 25px;
    width: 20px;
    animation: equalizer02 5000ms infinite;
  }
  .open .toggle_btn span {
    background-color: #fff;
    width: 30px;
  }
  .open .toggle_btn span:nth-child(1) {
    transform: translate(0, 10px) rotate(-45deg);
    animation: unset;
  }
  .open .toggle_btn span:nth-child(2) {
    opacity: 0;
    animation: unset;
  }
  .open .toggle_btn span:nth-child(3) {
    transform: translate(0, -10px) rotate(45deg);
    animation: unset;
  }
  @media screen and (max-width: 767px) {
    .open .toggle_btn {
      left: 260px;
    }
  }
  /*============
#mask
=============*/
  #mask {
    display: none;
  }
  .open #mask {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.8;
    z-index: 2;
    cursor: pointer;
    transition: all 0.5s;
  }
  /*============
main
=============*/
  main {
    padding: 40px;
  }
  main h1 {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    text-align: center;
  }
  /*============
body
=============*/
  body {
    font-family: "Open Sans", sans-serif;
    font-weight: 500;
  }
}

/* ファーストビュー */
.fv-wrapper {
  max-width: 150rem;
  margin: 0 auto;
  position: relative;
  /* min-height: 100vh; */
}

.fv-background {
  width: 100%;
  box-sizing: border-box;
}

/* 経営理念 */
.corporate-wrapper {
  min-height: 100vh;
  margin-top: 13rem;
}

/* スクロールアニメ */
@media (min-width: 901px) {
  .story {
    height: 100vh;
  }

  .story-inner {
    position: absolute;
    overflow: hidden;
    width: 100%;
    height: 100%;
    clip: rect(0, auto, auto, 0);
  }

  .fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}

/* --- モバイルでは自然な縦スクロールに戻す --- */
@media (max-width: 900px) {
  .story {
    height: auto;
    /* padding-bottom: 10rem; */
  }

  .story-inner {
    position: relative;
    overflow: visible;
    clip: unset;
    height: auto;
  }

  .fixed {
    position: relative;
    height: auto;
  }
}
.corporate-title {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 3.2rem;
  color: #333;
  font-weight: bold;
  letter-spacing: 0.5rem;
  border-right: 1px solid black;
  padding-right: 0.5rem;
  margin: 5rem auto 1.6rem;
}

@media (max-width: 700px) {
  .corporate-title {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    font-size: 2.4rem;
    text-align: center;
    border-right: none;
    border-bottom: 1px solid black;
    padding-bottom: 1rem;
  }
}

.corporate-title-sub {
  font-size: clamp(1.6rem, 2vw, 2.4rem);
  font-family: "游明朝", "Yu Mincho";
  font-weight: bold;
  letter-spacing: 0.1rem;
  color: #333;
  text-align: center;
  margin-bottom: 5rem;
}

.corporate-logo {
  text-align: center;
  margin-bottom: 5rem;
}

.corporate-logo img {
  max-width: 50rem;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.corporate-logo-png {
  pointer-events: visiblePainted;
  filter: drop-shadow(0.5rem 0.5rem 0.5rem rgba(0, 0, 0, 0.5));
}

.corporate-logo-png:hover {
  transform: scale(1.2);
}

.corporate-text-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 2rem;
}

.corporate-text {
  font-size: clamp(1.6rem, 2.2vw, 1.7rem);
  font-weight: 500;
  letter-spacing: 0.05rem;
  line-height: 2;
  text-align: justify;
  max-width: 70rem;
  margin: 0 auto;
  color: #333;
}

.common-button {
  margin: 6rem 0;
}

.common-button a {
  background: #eee;
  border-radius: 9999px;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: auto;
  max-width: 250px;
  padding: 10px 25px;
  font-family: "Noto Sans Japanese";
  text-decoration: none;
  color: #333;
  line-height: 1.8;
  transition: 0.3s ease-in-out;
  font-weight: bold;
  font-size: clamp(1.4rem, 1.6vw, 1.6rem);
}

.common-button a:after {
  content: "";
  position: absolute;
  top: 50%;
  bottom: 0;
  right: 2rem;
  font-size: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: right 0.3s;
  width: 6px;
  height: 6px;
  border-top: solid 2px currentColor;
  border-right: solid 2px currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.common-button a:hover {
  background: #333;
  color: #fff;
}

.common-button a:hover:after {
  right: 1.4rem;
}

@media screen and (max-width: 700px) {
  .corporate-logo img {
    max-width: 38rem;
  }
}

@media screen and (max-width: 550px) {
  .corporate-logo img {
    max-width: 28rem;
  }
}

@media screen and (max-width: 400px) {
  .corporate-logo img {
    max-width: 22rem;
  }
}

@media screen and (max-width: 360px) {
  .corporate-logo img {
    max-width: 18rem;
  }
}

@media screen and (max-width: 320px) {
  .corporate-logo img {
    max-width: 16rem;
  }
}

@media (max-width: 480px) {
  .corporate-text {
    font-size: 1.6rem;
    line-height: 2.2;
    letter-spacing: 0.03rem;
    padding: 0 1rem;
  }
}

/* 事業内容 */
.service-wrapper {
  background-image: url(../tk-img/service-img.jpg);
  background-size: cover;
  background-position: center;
  padding: 7.2rem 0;
  min-height: 100vh;
}

.common-title {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 3.2rem;
  color: #fff;
  font-weight: bold;
  letter-spacing: 0.5rem;
  border-right: 1px solid #fff;
  padding-right: 0.5rem;
  margin: 5rem auto 1.6rem;
}

@media screen and (max-width: 700px) {
  .common-title {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    font-size: 2.4rem;
    text-align: center;
    border-right: none;
    border-bottom: 1px solid #fff;
    padding-bottom: 1rem;
  }
}

.common-title-sub {
  font-size: clamp(1.6rem, 2vw, 2.4rem);
  font-family: "游明朝", "Yu Mincho";
  font-weight: bold;
  letter-spacing: 0.1rem;
  color: #fff;
  text-align: center;
  margin-bottom: 6rem;
}

.service-box {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 12rem;
  flex-wrap: wrap;
}

.box-detail {
  position: relative;
  max-width: 30rem;
  width: 100%;
  text-align: center;
}

.img-circle img {
  width: 100%;
  max-width: 30rem;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.img-circle:hover img {
  transform: scale(1.1);
}

.box-detail-inner {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: -6rem;
}

.title-detail {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: clamp(2.4rem, 2.8vw, 3rem);
  font-weight: bold;
  color: #fff;
  letter-spacing: 0.5rem;
  margin-bottom: 1.2rem;
}

.sub-detail {
  display: block;
  font-size: clamp(1.6rem, 2vw, 2.4rem);
  font-weight: bold;
  letter-spacing: 0.1rem;
  color: #fff;
  text-align: center;
  margin-top: 0.8rem;
}

/* 施工実績 */
/* #works { 
  margin-bottom: 12rem;
}*/

.works-wrapper {
  background-image: url(../tk-img/works-bg.jpg);
  background-size: cover;
  background-position: center;
  padding: 7.2rem 0 8rem 0;
  margin-bottom: 12rem;
  min-height: 100vh;
}

.works-button {
  margin: 40rem 0 10rem 0;
}

.works-button a {
  background: #eee;
  border-radius: 9999px;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: auto;
  max-width: 250px;
  padding: 10px 25px;
  font-family: "Noto Sans Japanese";
  text-decoration: none;
  color: #333;
  line-height: 1.8;
  transition: 0.3s ease-in-out;
  font-weight: bold;
  font-size: 1.6rem;
}
.works-button a:after {
  content: "";
  position: absolute;
  top: 50%;
  bottom: 0;
  right: 2rem;
  font-size: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: right 0.3s;
  width: 6px;
  height: 6px;
  border-top: solid 2px currentColor;
  border-right: solid 2px currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.works-button a:hover {
  background: #333;
  color: #fff;
}
.works-button a:hover:after {
  right: 1.4rem;
}

.construction-status {
  margin-top: 15rem;
}

.main-content {
  min-height: calc(100vh - 200px);
  padding: 80px 0 60px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.page-header {
  text-align: center;
  margin-bottom: 60px;
  padding: 40px 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: 0 auto 60px;
}

.page-title {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 15px;
  font-weight: bold;
  position: relative;
}

.page-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(45deg, #3498db, #2980b9);
  margin: 20px auto;
  border-radius: 2px;
}

.page-subtitle {
  font-size: 1.1rem;
  color: #7f8c8d;
  line-height: 1.6;
}

.construction-status {
  background: white;
  border-radius: 15px;
  padding: 50px 30px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 0 auto;
  margin-top: 15rem;
  position: relative;
  overflow: hidden;
}

.construction-status::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f39c12, #e67e22, #d35400);
  animation: progress 3s ease-in-out infinite;
}

@keyframes progress {
  0%,
  100% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(100%);
  }
}

.construction-icon {
  font-size: 4rem;
  color: #f39c12;
  margin-bottom: 25px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.construction-title {
  font-size: 1.8rem;
  color: #2c3e50;
  margin-bottom: 20px;
  font-weight: bold;
}

.construction-message {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 30px;
}

.preview-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.preview-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin: 15rem 0 15rem 0;
  padding: 0 20px;
  cursor: pointer;
}

.preview-card {
  background: white;
  border-radius: 10px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
}

.preview-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: #3498db;
}

.preview-card-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.card-plumbing {
  color: #3498db;
}
.card-manufacturing {
  color: #27ae60;
}
.card-other {
  color: #e74c3c;
}

.preview-card-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 10px;
}

.preview-card-desc {
  color: #7f8c8d;
  font-size: 0.95rem;
  line-height: 1.5;
}

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

@media (max-width: 768px) {
  .page-title {
    font-size: 2rem;
  }

  .construction-status {
    padding: 40px 20px;
    margin: 0 20px;
  }

  .construction-title {
    font-size: 1.5rem;
  }

  .preview-cards {
    grid-template-columns: 1fr;
    padding: 0 10px;
  }

  .contact-section {
    margin: 60px 20px 0;
  }
}

.works-section {
  padding: 80px 20px;
  margin: 8rem 0 6rem 0;
  background: url("background-construction.jpg") center/cover no-repeat;
}

.section-title {
  font-size: 3.5rem;
  text-align: center;
  color: #222;
  margin-bottom: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.section-subtitle {
  text-align: center;
  color: #888;
  font-size: 1.4rem;
  margin-bottom: 40px;
}

.works-list {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 0;
  list-style: none;
}

.works-list li {
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.works-list li span {
  display: block;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.works-list li:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
  .works-list {
    grid-template-columns: 1fr;
  }
}
/* アクセス */
.access-wrapper {
  margin-top: 12rem;
}

.access-title {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 2.5rem;
  color: #333;
  font-weight: bold;
  letter-spacing: 0.5rem;
  border-right: 1px solid #000;
  padding-right: 0.5rem;
  margin: 5rem auto 1.6rem;
}

/* ← 重複を避けてこの1本に統一 */
.access-title-sub {
  font-size: clamp(1.6rem, 2vw, 2.4rem);
  font-family: "游明朝", "Yu Mincho";
  font-weight: bold;
  letter-spacing: 0.1rem;
  color: #333;
  text-align: center;
  margin-bottom: 5rem;
}

/* 2枚並びのグリッド */
.access-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.4rem;
  align-items: start;
}

.map-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.map-info {
  padding: 1.6rem 1.6rem 0;
}

.map-name {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  color: #222;
}

.map-addr {
  font-size: 1.4rem;
  color: #555;
  margin: 0 0 0.8rem;
}

.map-link {
  display: inline-block;
  font-size: 1.3rem;
  text-decoration: underline;
  color: #0b57d0;
  margin-bottom: 1.2rem;
}

/* 既存の比率制御を流用 */
.access-map {
  width: 100%;
  aspect-ratio: 16/9;
}

.access-map iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

/* SPで縦1列＋タイトルの縦書き解除 */
@media (max-width: 900px) {
  .access-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .access-title {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    font-size: 2.4rem;
    text-align: center;
    border-right: none;
    border-bottom: 1px solid #000;
    padding-bottom: 1rem;
  }
  .access-wrapper {
    margin-top: 4rem;
  }
}

/* フッター */
.footer-wrapper {
  background: url("../tk-img/footer-bg-logo2.png") no-repeat center center /
    cover;
  background-size: 75%;
  background-position: center;
  position: relative;
  z-index: 0;
}

.footer-menulist {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20rem;

  color: #fff;
  padding: 6rem 0 0;
}

.footer-menulist,
.footer-bottom {
  background: transparent;
}
.footer-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6); /* 黒の半透明オーバーレイ */
  z-index: 1;
}

.footer-wrapper > * {
  position: relative;
  z-index: 2;
}

.l-footer-title {
  display: flex;
  align-items: flex-end;
  margin-bottom: 3.2rem;
}

.footer-title {
  font-size: clamp(5rem, 6vw, 8rem);
  font-family: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  letter-spacing: 0.3rem;
  text-transform: uppercase;
}

.sub-title {
  font-size: 1.6rem;
  letter-spacing: 0.05rem;
  padding-bottom: 1.2rem;
}

.l-footer-text {
  font-size: 1.6rem;
  letter-spacing: 0.05rem;
  line-height: 2.5rem;
  margin-bottom: 4.8rem;
}

.l-footer-tel-btn {
  text-align: center;
  padding: 27px 36px;
  margin-bottom: 0.8rem;
  align-items: center;
  background-color: #232323;
}

.l-footer-tel-btn a {
  text-decoration: none;
}

.l-footer-tel-btn span {
  font-size: 4rem;
  font-weight: bold;
  color: #fff;
}

.l-footer-contact-btn {
  text-align: center;
  padding: 27px 36px;
  align-items: center;
  background-color: #232323;
}

.l-footer-contact-btn a {
  text-decoration: none;
}

.l-footer-contact-btn span {
  font-size: 4rem;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
}

/* フッター右側 */
#footer {
  margin-bottom: 0;
}

.footer-nav {
  font-size: 4rem;
  font-family: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  color: #fff;
  text-transform: uppercase;
  list-style: none;
  padding-top: 4.5rem;
}

.footer-nav-item {
  margin-bottom: 50px;
}

.footer-nav-item a {
  text-decoration: none;
}

.footer-nav-item span {
  color: #fff;
}

.footer-nav-child {
  font-size: 1.6rem;
  letter-spacing: 0.5rem;
  line-height: 3rem;
  list-style: none;
}

.footer-bottom {
  color: #fff;
  padding: 0 2rem 2rem;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-img {
  max-width: 100px;
  margin-bottom: 1.5rem;
}
.footer-img img {
  width: 100%;
  height: auto;
  display: block;
}

.addressbox {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 4rem;
  flex-wrap: wrap;
  max-width: 1000px;
  margin-top: 2rem;
}

.address-column {
  flex: 1;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem;
  background-color: rgba(255, 255, 255, 0.05);
  min-height: 280px; /* 高さ揃え */
}

.addressbox h2 {
  font-size: 2rem;
  margin-bottom: 3rem;
  width: 100%;
  text-align: center;
  order: -1; /* ← addressbox内で先頭に表示 */
}

.adress-item {
  font-size: 1.6rem;
  line-height: 2.6rem;
  letter-spacing: 0.03rem;
  margin: 0 auto;
  text-align: center;
}

/* フッター内のリンクのデフォルト設定 */
.footer-nav-item a,
.footer-nav-child-item a {
  text-decoration: none;
  color: #fff;
  display: inline-block; /* ホバー領域を確保 */
  transition: color 0.3s ease-in-out; /* スムーズな色変化 */
}

/* ホバー時に #2fb2dc へ変更 */
.footer-nav-item a:hover,
.footer-nav-child-item a:hover {
  color: #2fb2dc;
}

/* span にも適用 */
.footer-nav-item a:hover span,
.footer-nav-child-item a:hover span {
  color: #2fb2dc;
}

/* 電話・メールのボタンスタイル */
.l-footer-tel-btn,
.l-footer-contact-btn {
  text-align: center;
  padding: 27px 36px;
  align-items: center;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.05), #3a3a3a);
  position: relative;
  overflow: hidden;
}

.l-footer-tel-btn a,
.l-footer-contact-btn a {
  text-decoration: none;
  display: block;
  position: relative;
  z-index: 2;
}

.l-footer-tel-btn span,
.l-footer-contact-btn span {
  font-size: 4rem;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
  display: block;
  transition: color 0.3s ease-in-out;
}

/* ホバー時に左から右に色が変わる */
.l-footer-tel-btn::before,
.l-footer-contact-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: linear-gradient(to right, #2fb2dc, #0077b6);
  transition: width 0.5s ease-in-out;
  z-index: 1;
}

.l-footer-tel-btn:hover::before,
.l-footer-contact-btn:hover::before {
  width: 100%;
}

.l-footer-tel-btn:hover span,
.l-footer-contact-btn:hover span {
  color: #fff;
}

.footer-copyright {
  text-align: center;
  font-size: 1rem;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.6); /* 黒の半透明オーバーレイ */
  padding: 0.25rem 1rem 0.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright small {
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 0.05em;
}

@media screen and (max-width: 900px) {
  .service-box {
    flex-direction: column;
    gap: 4rem;
    align-items: center;
  }
}

@media screen and (max-width: 900px) {
  .l-footer-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3.2rem;
  }

  .footer-menulist {
    flex-direction: column;
    gap: 4rem;
    padding: 4rem 2rem;
    text-align: center;
  }
  .footer-left,
  .footer-right {
    width: 100%;
  }

  .footer-nav {
    padding-top: 2rem;
    text-align: center;
    font-size: 4rem;
  }
  .footer-nav-item,
  .footer-nav-child-item {
    margin-bottom: 1.6rem;
  }

  .l-footer-tel-btn,
  .l-footer-contact-btn {
    padding: 18px 24px;
  }
  .l-footer-tel-btn span,
  .l-footer-contact-btn span {
    font-size: 3.2rem;
  }
}

@media screen and (max-width: 768px) {
  .footer-wrapper {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center 4rem;
  }

  .addressbox {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }

  .address-column {
    max-width: 100%;
    min-height: auto;
  }

  .addressbox h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  .adress-item {
    font-size: 1.4rem;
    line-height: 2.2rem;
  }
}
/* ここから会社概要 */
/* company */
/* ページタイトル */
.company-mv {
  max-width: 100%;
  position: relative;
  margin-bottom: 12rem;
}

.company-mv img {
  width: 100%;
  height: auto;
  display: block;
}

.company-mv-textbox {
  position: absolute;
  bottom: 25%;
  right: 15%;
  color: #fff;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.company-title {
  font-size: clamp(4rem, 10vw, 17rem);
  font-family: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  line-height: 1.1;
}

.company-sub-title {
  font-size: clamp(1.6rem, 3vw, 3.6rem);
  font-weight: bold;
  text-align: end;
  line-height: 1.2;
}

@media (max-width: 480px) {
  .company-mv-textbox {
    right: 5%;
    bottom: 25%;
  }
}

/* 代表・専務挨拶 */
/* 共通構造 */
.greeting-wrapper {
  margin-top: 10rem;
  padding: 0 2rem;
}

.greeting-box,
.greeting-box-reverse {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 5rem;
  margin-bottom: 10rem;
  flex-wrap: wrap;
}

.greeting-box,
.greeting-box-reverse,
.outline-wrapper,
.history-row {
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border-radius: 1.6rem;
  padding: 4rem 2rem;
  margin-bottom: 6rem;
}

.greeting-left,
.greeting-right,
.greeting-left-reverse,
.greeting-right-reverse {
  flex: 1 1 45rem;
  min-width: 280px;
  box-sizing: border-box;
  padding: 0 2rem;
}

.greeting-img {
  width: 100%;
  max-width: 100%;
  text-align: center;
  padding: 0;
}

.greeting-img img {
  width: 100%;
  max-width: 540px;
  height: auto;
  display: block;
  margin: 0 auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 0.8rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.greeting-title {
  font-size: clamp(3.6rem, 5.5vw, 5.4rem);
  letter-spacing: 0.1rem;
  font-weight: bold;
  margin-bottom: 3rem;
  line-height: 1.4;
}

.greeting-text {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  letter-spacing: 0.05rem;
  line-height: 2;
  margin-bottom: 2rem;
}

.greeting-name {
  font-size: clamp(1.6rem, 2vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.1rem;
  text-align: end;
}

@media (max-width: 1000px) {
  .greeting-box {
    flex-direction: column-reverse;
    gap: 4rem;
    align-items: center;
  }

  .greeting-box-reverse {
    flex-direction: column;
    gap: 4rem;
    align-items: center;
  }

  .greeting-img {
    margin-bottom: 4rem;
  }

  .greeting-text {
    font-size: clamp(1.6rem, 4vw, 2rem);
    line-height: 1.9;
    letter-spacing: 0.05rem;
    text-align: justify;
  }

  .greeting-title {
    font-size: clamp(2.4rem, 6vw, 3.6rem);
    text-align: center;
  }

  .greeting-name {
    font-size: clamp(1.6rem, 4vw, 2rem);
    text-align: right;
    margin-top: 2rem;
  }

  .greeting-left,
  .greeting-right,
  .greeting-left-reverse,
  .greeting-right-reverse {
    width: 100%;
    padding: 0 2rem;
    box-sizing: border-box;
  }
}

/* 経営理念 */
.company-corporate-wrapper {
  padding: 20rem 0;
  background: radial-gradient(
      circle,
      rgba(255, 255, 255, 0.2) 0%,
      transparent 40%
    ),
    linear-gradient(135deg, #112240 0%, #8fa6bf 100%);
  position: relative;
  clip-path: polygon(0% 10%, 100% 0%, 100% 90%, 0% 100%);
}

.company-corporate-box {
  text-align: center;
  color: #fff;
  margin-bottom: 4rem;
  padding: 0 2rem;
}

.company-corporate-subtitle {
  font-size: clamp(1.6rem, 2vw, 2rem);
  text-align: center;
  margin-bottom: 1rem;
}

.company-corporate-title {
  font-size: clamp(3.6rem, 5.5vw, 5.4rem);
  font-family: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  letter-spacing: 0.2rem;
  line-height: 1.2;
  word-break: keep-all;
}

.corporate-logo {
  text-align: center;
  margin-bottom: 3rem;
}

.corporate-logo-png {
  max-width: 300px;
  width: 100%;
  height: auto;
}

.corporate-text-wrapper {
  padding: 0 2rem;
}

.company-corporate-text {
  font-size: clamp(1.6rem, 2.2vw, 1.9rem);
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.05rem;
  color: #fff;
  text-align: justify;
  max-width: 70rem;
  margin: 0 auto;
}

/* 沿革 */
.history-wrapper {
  background-image: url(../tk-img/company.bg.jpg);
  background-size: cover;
  background-position: center;
  padding: 12rem 0;
  margin-bottom: 12rem;
}

.history-row {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  padding: 6rem 2rem;
}

.history-left,
.history-right {
  box-sizing: border-box;
}

.history-left {
  flex: 4;
  font-weight: bold;
  text-align: start;
  letter-spacing: 0.1rem;
  padding: 0 2rem;
}

.history-subtitle {
  font-size: clamp(1.6rem, 2vw, 2rem);
  margin-bottom: 1rem;
}

.history-title {
  font-size: clamp(3.6rem, 5.5vw, 5.4rem);
  font-family: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  letter-spacing: 0.3rem;
  line-height: 1.2;
  text-align: left;
}

.history-right {
  flex: 6;
  padding: 0 2rem;
}

.history-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.history-item {
  display: flex;
  align-items: flex-start;
  text-align: left;
  font-size: clamp(1.6rem, 2vw, 1.8rem);
  font-weight: 500;
  letter-spacing: 0.05rem;
  border-bottom: 1px solid #333;
  padding: 2.5rem 0;
  flex-wrap: wrap;
  gap: 1rem;
}

.year-month {
  flex: 0 0 18rem;
  font-weight: bold;
}

.history-detail {
  flex: 1 1 auto;
  line-height: 1.8;
}

@media (max-width: 1000px) {
  .history-row {
    flex-direction: column;
    align-items: center;
    gap: 6rem;
  }

  .history-left,
  .history-right {
    padding: 0 2rem;
    text-align: center;
  }

  .history-item {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
  }

  .year-month {
    flex: none;
  }

  .history-detail {
    flex: none;
  }
}

/* 会社概要 */
/* タイトル調整 */
.outline-title {
  font-size: clamp(3.6rem, 5.5vw, 5.4rem);
  font-family: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  letter-spacing: 0.3rem;
  text-align: center;
  line-height: 1.2;
}

/* サブタイトル */
.outline-subtitle {
  font-size: clamp(1.6rem, 2vw, 2rem);
  text-align: center;
  margin-bottom: 1rem;
}

/* コンテナ・全体余白 */
.outline-wrapper {
  padding: 0 2rem; /* 両サイド余白 */
}

.outline-box {
  margin-bottom: 6rem;
}

/* 横並びの基本構造（PC用） */
.outline-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4rem;
  flex-wrap: wrap;
  margin-bottom: 14rem;
}

/* 左右項目共通 */
.outline-left,
.outline-right {
  flex: 1;
  max-width: 48%;
  box-sizing: border-box;
}

.outline-item {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: clamp(1.4rem, 1.8vw, 1.6rem);
  letter-spacing: 0.05rem;
  border-bottom: 1px solid hsla(0, 0%, 88.6%, 0.4); /* ✅ 下線を常に表示 */
  padding: 2rem 0;
  width: 100%; /* ✅ 下線幅を保つために必須 */
  box-sizing: border-box;
}

/* カテゴリ（左側） */
.outline-category {
  font-weight: 700;
  flex: 0 0 15rem;
}

/* 詳細（右側） */
.outline-detail {
  flex: 1;
  min-width: 0;
  word-wrap: break-word;
  white-space: normal;
  line-height: 1.8;
}

/* 1200px以下：縦並びに変更 */
@media (max-width: 1200px) {
  .outline-row {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .outline-left,
  .outline-right {
    max-width: 100%;
    width: 100%;
    padding: 0 2rem;
  }

  .outline-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 2rem 0;
    border-bottom: 1px solid hsla(0, 0%, 88.6%, 0.4); /* ✅ スマホでも視認性の良い下線を維持 */
  }

  .outline-category,
  .outline-detail {
    flex: none;
    width: 100%;
  }

  .outline-category {
    margin-bottom: 0.5rem;
  }
}

/*各事業内容リンク*/
/* ===== セクション骨格（2枚目/3枚目の白基調に合わせた余白スケール） ===== */
.service-section {
  background: #fff;
  padding: clamp(40px, 6vw, 96px) 4vw;
}
.service-header {
  text-align: center;
  margin-bottom: clamp(28px, 4.5vw, 56px);
}
.service-eyebrow {
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: clamp(14px, 1.6vw, 18px);
  margin: 0 0 6px;
}
.service-title {
  font-size: clamp(24px, 4.8vw, 52px);
  font-weight: 800;
  letter-spacing: 0.06em;
  margin: 0;
}

/* ===== グリッド（中央寄せ・3→2→1列） ===== */
.service-grid {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: clamp(24px, 6vw, 80px);
  max-width: 1200px;
  align-items: start;
  justify-items: center;
}
@media (max-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(200px, 1fr));
  }
}
@media (max-width: 640px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== カード（円＋縦書き/英語見出し全体がクリック） ===== */
.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  outline: none;
}

/* 円画像を崩さない：aspect-ratio + object-fit */
.service-figure {
  position: relative;
  width: min(30rem, 72vw);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transform: translateZ(0); /* アンチエイリアス */
}
.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.92) contrast(1.02);
}

/* 縦書きラベル（PC） */
.service-label {
  position: absolute;
  inset: auto 0 10% 0; /* 下寄せ中央 */
  display: flex;
  justify-content: center;
  pointer-events: none; /* 画像全体がクリック */
}
.label-ja {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-weight: 800;
  letter-spacing: 0.5rem;
  line-height: 1.2;
  font-size: clamp(22px, 2.6vw, 32px);
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

/* 英語サブラベル */
.label-en {
  margin-top: clamp(10px, 1.6vw, 14px);
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: clamp(16px, 2.1vw, 24px);
  color: #1d1d1f;
}

/* Hover/Focus：スケール＋リング */
@media (hover: hover) {
  .service-card:hover .service-figure {
    transform: scale(1.035);
  }
}
.service-card:focus-visible .service-figure,
.service-card:hover .service-figure {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22),
    0 0 0 3px rgba(0, 115, 230, 0.18) inset;
}

/* 動きに弱い利用者配慮 */
@media (prefers-reduced-motion: reduce) {
  .service-figure {
    transition: none;
  }
}

/* ===== スマホ最適化：縦書き→横書き、余白調整 ===== */
@media (max-width: 480px) {
  .label-ja {
    writing-mode: horizontal-tb;
    text-orientation: initial;
    letter-spacing: 0.12em;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0));
    padding: 8px 10px;
    border-radius: 12px;
  }
  .service-label {
    inset: auto 6% 6% 6%;
  } /* 円の内側に収める */
}

/* 施工事例リンク */
.works-link-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 100%;
  margin-bottom: 12rem;
  text-align: center;
}

.works-link-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 1rem;
}

/* 常に中央やや下に配置 */
.works-link-button {
  position: absolute;
  top: 65%; /* 中央より下に調整 */
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

/* ボタン本体 */
.works-link-button a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 2.8rem 1.2rem 2.4rem; /* 🔧 padding-right調整 */
  background: rgba(255, 255, 255, 0.95);
  border-radius: 9999px;
  font-size: clamp(1.4rem, 2vw, 1.6rem);
  font-weight: bold;
  color: #333;
  text-decoration: none;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  white-space: nowrap; /* ✅ 改行を防ぐ！ */
  min-width: 180px; /* ✅ 必要に応じて調整 */
  line-height: 1.5;
  transition: all 0.3s ease;
}

/* 矢印 */
.works-link-button a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.6rem; /* 小さめに調整 */
  width: 6px;
  height: 6px;
  border-top: solid 2px currentColor;
  border-right: solid 2px currentColor;
  transform: translateY(-50%) rotate(45deg);
  transition: right 0.3s ease;
}

.works-link-button a:hover {
  background: #333;
  color: #fff;
}

.works-link-button a:hover::after {
  right: 1rem;
}

/* ここから事業内容 */
/* 事業内容０１ */

.service01-mv {
  max-width: 100%;
  position: relative;
  margin-bottom: 12rem;
}

.service01-mv img {
  width: 100%;
  height: auto;
  filter: brightness(70%);
}

.service01-mv-textbox {
  position: absolute;
  bottom: 20%;
  right: 15%;
  color: #fff;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

/*     .service01-mv-textbox {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      text-align: center;
      color: white;
    } */

.service01-title {
  font-size: clamp(4rem, 10vw, 17rem);
  font-family: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  line-height: 1.1;
}

.service01-sub-title {
  font-size: clamp(1.6rem, 3vw, 3.6rem);
  font-weight: bold;
  text-align: end;
  line-height: 1.2;
}

@media (max-width: 480px) {
  .service01-mv-textbox {
    right: 5%;
    bottom: 25%;
  }
}

.service01-contents {
  letter-spacing: 0.1rem;
  text-align: center;
  margin-bottom: 8rem;
}

.service01-contents-title {
  font-size: clamp(4rem, 6vw, 5.4rem); /* 320pxで4remになるよう調整 */
  color: #2fb2dc;
  font-family: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  letter-spacing: 0.05rem;
  line-height: 1.2;
}

.service01-contents-subtitle {
  font-size: 1.6rem;
  font-weight: 600;
  color: #555;
  margin-top: 0.8rem;
}

/* 配管工事概要 */
.service01-summary-wrapper {
  max-width: 800px;
  margin: auto;
  padding: 20px;
}

.summary-text {
  font-size: clamp(1.5rem, 2vw, 1.6rem);
  font-weight: 500;
  color: #1d1d1d;
  letter-spacing: 0.05rem;
  line-height: 2.2;
  text-align: left;
  max-width: 70rem;
  margin: 0 auto 8rem;
  padding: 0 2rem;
}

.summary-img {
  max-width: 100rem;
  margin: 0 auto 6rem;
  overflow: hidden;
}

.summary-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}

/* タブレット以下で調整 */
@media (max-width: 1030px) {
  .summary-text {
    text-align: left;
    padding: 0 2rem;
  }

  .summary-img img {
    aspect-ratio: 9 / 9;
  }
}

/* 最小320px対応の補足 */
@media (max-width: 480px) {
  .service01-contents-title {
    text-align: center;
  }

  .summary-text {
    font-size: 1.5rem;
    line-height: 2.4;
    text-align: left;
    padding: 0 1.6rem;
  }
}

/* 施工の流れ */
/* ===== Process（常時表示） ===== */
#process {
  background: #fff;
  padding: clamp(40px, 6vw, 96px) 4vw;
}
#process .process-container {
  max-width: 1000px; /* 他セクションと同じ紙面幅感 */
  margin: 0 auto;
}
#process .process-title-box {
  text-align: center;
  margin-bottom: clamp(24px, 5vw, 48px);
}
#process .process-title {
  font-size: clamp(24px, 4.6vw, 40px);
  font-weight: 800;
  letter-spacing: 0.04em;
  margin: 0;
}

/* 本文カード（角丸・薄影・余白たっぷり） */
#process .process-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
  padding: clamp(16px, 3.2vw, 28px);
}
#process .process-content {
  font-size: clamp(15px, 1.8vw, 16px);
  line-height: 1.9;
  color: #1d1d1f;
}

/* モバイル微調整 */
@media (max-width: 560px) {
  #process .process-card {
    border-radius: 14px;
  }
}

/* Process 写真 */
.process-photo {
  margin-top: clamp(16px, 3vw, 28px);
}
.process-photo .photo-frame {
  width: 100%;
  aspect-ratio: 16 / 9; /* 横長で統一。原寸で良ければ削除 */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.process-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.98) contrast(1.02);
}
.photo-caption {
  text-align: center;
  font-size: clamp(12px, 1.6vw, 14px);
  color: #555;
  margin-top: 10px;
}

/* モバイル微調整 */
@media (max-width: 560px) {
  .process-photo .photo-frame {
    border-radius: 14px;
  }
}

/* 会社概要・採用情報リンク */
/* ▼ 共通設定（PC・スマホ共通） */
.link-box-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15rem;
  margin: 20rem 0 12rem 0;
  padding: 0 2rem;
  flex-wrap: wrap; /* 安全性確保 */
}

/* .link-company, 
.link-recruit {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  max-width: 45rem;
  width: 100%;
}*/

.link-company,
.link-recruit {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  width: 45%;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.link-company-img,
.link-recruit-img {
  display: block;
  width: 100%;
  overflow: hidden; /* 画像の拡大はみ出しを防止 */
  border-radius: 8px; /* オプション：角丸で自然に */
  position: relative; /* 子要素拡大に備えた基準 */
  aspect-ratio: 13 / 9; /* 枠もアスペクト比維持 */
}

.link-company-img img,
.link-recruit-img img {
  width: 100%;
  height: 100%; /* 枠にフィットさせる */
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
  display: block;
}

.link-company-img:hover img,
.link-recruit-img:hover img {
  transform: scale(1.1);
}

.link-company-box,
.link-recruit-box {
  margin-bottom: 2.4rem;
}

.link-company-title,
.link-recruit-title {
  font-size: 3rem;
  color: #333;
  letter-spacing: 0.05rem;
}

.link-company-subtitle,
.link-recruit-subtitle {
  font-size: 1.6rem;
  letter-spacing: 0.05rem;
}

.button-container {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  width: 100%;
  margin-bottom: 4rem;
}

.custom-button {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: clamp(1.3rem, 1.6vw, 1.6rem);
  font-weight: bold;
  color: #000;
  text-decoration: none;
  border: 1px solid #000;
  border-radius: 30px;
  transition: all 0.3s ease;
  max-width: 25rem;
  width: 100%;
  text-align: center;
}

.custom-button:hover {
  background: #000;
  color: #fff;
}

@media (max-width: 1000px) {
  .link-box-wrapper {
    flex-direction: column;
    gap: 6rem;
    margin: 12rem 2rem 10rem;
  }

  .link-company,
  .link-recruit {
    width: 100%;
  }

  .link-company-title,
  .link-recruit-title {
    font-size: 2.4rem;
  }

  .link-company-subtitle,
  .link-recruit-subtitle {
    font-size: 1.4rem;
  }

  .custom-button {
    font-size: 1.4rem;
    padding: 0.8rem 1.6rem;
    width: 80%;
  }
}

/* ▼ スマホ最小幅（〜480px）対応 */
@media (max-width: 480px) {
  .link-company-title,
  .link-recruit-title {
    font-size: 2.2rem;
  }

  .custom-button {
    font-size: 1.3rem;
    padding: 1.2rem 1.2rem;
    width: 90%;
  }
}

.custom-button:hover {
  background: #000;
  color: #fff;
}

/* ここから採用情報 */
.recruit-section {
  background: linear-gradient(135deg, #f8f9fa, #ffffff);
  padding: 6rem 2rem;
}

.recruit-wrapper {
  background-color: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  padding: 4rem;
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
}

.recruit-text {
  width: 50rem; /* ← 固定幅に変更 */
  text-align: left;
}

.recruit-title {
  font-size: 10rem;
  font-family: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  letter-spacing: 0.1rem;
  margin-bottom: 1.6rem;
  color: #333;
}

.recruit-title span {
  color: #ffe818;
}

.recruit-subtitle {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.1rem;
  margin-bottom: 2rem;
  color: #1d1d1d;
}

.recruit-description {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1d1d1d;
  line-height: 1.8;
  letter-spacing: 0.15rem;
}

.recruit-image-placeholder {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.recruit-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top 50% left 30%;
  display: block;
}

/* 募集要項 */
.requirements-wrapper {
  max-width: 800px; /* 任意の幅 */
  margin: 0 auto; /* 左右中央寄せ */
  padding: 2rem;
  margin-bottom: 6rem;
}

.requirements-title-box {
  margin-bottom: 4rem;
}
.requirements-subtitle {
  font-size: clamp(1.6rem, 2vw, 2rem);
  margin-bottom: 1rem;
}

.requirements-title {
  font-size: clamp(3.6rem, 5.5vw, 5.4rem);
  font-family: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  letter-spacing: 0.3rem;
  line-height: 1.2;
  text-align: left;
}

.requirements-item {
  display: flex;
  align-items: center;
  letter-spacing: 0.1rem;
  border-bottom: 1px solid hsla(0, 0%, 88.6%, 0.4);
  padding: 3rem 0;
  flex-wrap: wrap; /* 折り返し対応 */
}

.requirements-category {
  font-size: 1.7rem;
  font-weight: bold;
  flex: 0 0 20rem;
  text-align: left;
}

.requirements-detail {
  font-size: 1.6rem;
  letter-spacing: 0.3rem;
  line-height: 1.3;
  flex: 1;
  min-width: 0;
  word-wrap: break-word;
  white-space: normal;
  text-align: left;
  margin-top: 0.5rem; /* 折り返したとき少し余白を持たせる */
}

@media (max-width: 768px) {
  .recruit-section {
    margin-bottom: 0 !important;
  }

  .recruit-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }

  .recruit-text,
  .recruit-image-placeholder {
    width: 100%;
    max-width: 100%;
    padding: 0 1rem;
  }

  .recruit-title {
    font-size: 5rem;
    text-align: left;
  }

  .recruit-subtitle {
    font-size: 2rem;
    text-align: left;
  }

  .recruit-description {
    font-size: 1.4rem;
    line-height: 1.7;
    letter-spacing: 0.05rem;
    text-align: left;
  }

  .recruit-image-placeholder {
    height: auto;
    aspect-ratio: 4 / 3; /* 比率を固定して縦長を防止 */
    max-height: 400px;
    overflow: hidden;
  }

  .recruit-image-placeholder img {
    width: 100%;
    height: 80%;
    object-fit: cover;
    object-position: center;
  }
}

@media (max-width: 600px) {
  .requirements-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .requirements-category {
    flex: none;
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .requirements-detail {
    width: 100%;
  }
}

/* 採用ボタン */
.entry-button-wrapper {
  margin: 6rem 0 20rem 0;
}

.entry-button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%; /* 幅は親に合わせる */
  max-width: 500px; /* 最大500px */
  height: 150px;
  margin: 0 auto;
  border: 2px solid #333;
  border-radius: 10px;
  background-color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.entry-main {
  font-size: 6rem;
  font-weight: bold;
  font-family: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  color: #f9002a; /* 常に赤 */
  letter-spacing: 1rem;
  line-height: 1;
}

.entry-sub {
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.1rem;
  color: #333;
  margin-top: 0.5rem;
  transition: color 0.3s ease;
}

/* ホバー時の変化 */
.entry-button:hover {
  background-color: #000;
  border-color: #fff;
}

.entry-button:hover .entry-sub {
  color: #fff; /* 応募するだけ白に */
}

@media (max-width: 480px) {
  .entry-main {
    font-size: 3rem;
  }

  .entry-sub {
    font-size: 1.6rem;
  }

  .entry-button {
    height: 120px;
  }
}
