@charset "utf-8";
/*
Theme Name: 株式会社ケイズ
Theme URI: ks-corp.biz
Description: 山口県岩国市の株式会社ケイズ。｢解体｣とは、創造への第一歩として不可欠な工程です。｢騒音を立てない｣｢清掃を心掛ける｣｢環境対策｣などの基本を守り、今後も｢スマートな解体｣を目指し続けます。
Version: 20241118
Author: owls-corp
*/
/* ***************************************************************** 
*	共通設定
* ***************************************************************** */
*, *:before, *:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  line-height: 2em;
  list-style: none;
  text-decoration: none;
}
:root {
  --main-color: #172d76; /* メインカラー */
  --sub-color: #2ea7e0; /* サブカラー */
}
section {
  margin-bottom: 100px;
}
@media (min-width: 751px) {
  a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }
}
@media screen and (min-width: 751px) {
  .br-sp {
    display: inline;
  }
  .br-pc {
    display: none;
  }
}
.br-sp {
  display: none;
}
.br-pc {
  display: inline;
}
/* ***************************************************************** 
*	基本設定
* ***************************************************************** */
body {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: 16px;
  background: #fff;
  color: #444;
  line-height: 190%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
/* 画像
---------------------------------------------------- */
a {
  color: var(--main-color);
}
a:hover {
  color: var(--sub-color);
}
/* 画像
---------------------------------------------------- */
img {
  border: 0;
  padding: 0px;
  margin: 0px
}
ul {
  margin: 0;
  padding: 0;
  list-style: disc;
}
li {
  margin: 0;
  padding: 0;
}
li a {
  color: #45AAB8;
  transition: 0.5s;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -o-transition: 0.5s;
  -ms-transition: 0.5s;
}
li a:hover {
  color: #666;
}
/* *****************************************************************
*	全体Wrapper
* ***************************************************************** */
.wrapper_home {
  margin: auto;
  max-width: 1200px;
  padding: 0 30px 0;
}
.wrapper {
  margin: auto;
  max-width: 1200px;
  padding: 50px 30px 0;
}
/* ***************************************************************** 
*	ヘッダー
* ***************************************************************** */
#header {
  width: 100%;
  position: relative;
  z-index: 10;
}
.header-inner {
  max-width: 1920px;
  overflow: hidden;
  margin: 0px auto;
  padding: 10px 0;
  display: flex;
  align-items: center;
}
.logo_area {
  width: 30%;
}
#header h1 {
  text-align: center;
  margin: 0;
}
.logo {
  text-align: center;
  margin: 0;
  padding: 0;
}
/* トップナビゲーション
---------------------------------------------------- */
#nav {
  width: 70%;
  margin: 0 auto;
  z-index: 9999;
  padding: 0 20px;
  text-align: right;
}
#nav ul {
  list-style: none;
  margin: auto;
}
.main-navigation {
  clear: both;
  margin: 0 auto;
  position: relative;
}
ul.nav-menu, div.nav-menu > ul {
  margin: 0;
  padding: 0;
}
.nav-menu li {
  display: inline-block;
  position: relative;
  margin: 0 -2px 0 -2px;
}
.nav-menu li a {
  color: #333;
  display: block;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  padding: 10px 30px;
}
.nav-menu li:last-child a {
  background-color: var(--main-color);
  color: #fff;
  border-radius: 15px;
  padding: 10px 40px 10px 55px;
}
.nav-menu li:last-child a:before {
  content: '\f0e0'; /* フォントオーサムのメールアイコン */
  font-family: 'Font Awesome 5 Free'; /* フォントオーサムのファミリー */
  font-weight: 900; /* 必須：アイコンが正しく表示されるようにする */
  position: absolute;
  left: 25px; /* アイコンの位置を調整 */
  top: 50%;
  transform: translateY(-50%);
  color: #fff; /* アイコンの色 */
}
.nav-menu li:hover > a, .nav-menu li a:hover {
  color: var(--main-color);
}
.nav-menu li:last-child a:hover {
  background-color: var(--sub-color);
  color: #fff;
}
.nav-menu .sub-menu, .nav-menu .children {
  background: #eee;
  display: none;
  padding: 0;
  position: absolute;
  z-index: 99999;
}
.nav-menu .sub-menu ul, .nav-menu .children ul {
  border-left: 0;
  left: 100%;
  top: 0;
}
ul.nav-menu ul a, .nav-menu ul ul a {
  color: #333;
  margin: 0;
  width: 200px;
}
ul.nav-menu ul a:hover, .nav-menu ul ul a:hover {
  background: #f5f5f5;
}
ul.nav-menu li:hover > ul, .nav-menu ul li:hover > ul {
  display: block;
  background: #eee;
}
.nav-menu .current_page_item > a, .nav-menu .current_page_ancestor > a, .nav-menu .current-menu-item > a, .nav-menu .current-menu-ancestor > a, .nav-menu .current-post-ancestor > a {
  color: var(--main-color);
  border-bottom: 2px solid var(--main-color);
}
.toggle {
  display: none;
}
.menu-toggle {
  width: 40px;
  height: 40px;
}
.hamburger {
  display: none;
}
/* ハンバーガーメニュー
---------------------------------------------------- */
/*!
* Hamburgers
* @description Tasty CSS-animated hamburgers
* @author Jonathan Suh @jonsuh
* @site https://jonsuh.com/hamburgers
* @link https://github.com/jonsuh/hamburgers
*/
.hamburger {
  padding: 10px 2px;
  display: inline-block;
  cursor: pointer;
  transition-property: opacity, -webkit-filter;
  transition-property: opacity, filter;
  transition-property: opacity, filter, -webkit-filter;
  transition-duration: 0.15s;
  transition-timing-function: linear;
  font: inherit;
  color: inherit;
  text-transform: none;
  background-color: transparent;
  border: 0;
  margin: 0;
  overflow: visible;
}
.hamburger:hover {
  opacity: 0.7;
}
.hamburger-box {
  width: 40px;
  height: 24px;
  display: inline-block;
  position: relative;
}
.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -2px;
}
.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
  width: 35px;
  height: 3px;
  background-color: #000;
  border-radius: 4px;
  position: absolute;
  transition-property: -webkit-transform;
  transition-property: transform;
  transition-property: transform, -webkit-transform;
  transition-duration: 0.15s;
  transition-timing-function: ease;
}
.hamburger-inner::before, .hamburger-inner::after {
  content: "";
  display: block;
}
.hamburger-inner::before {
  top: -10px;
}
.hamburger-inner::after {
  bottom: -10px;
}
/*
* Spin
*/
.hamburger--spin .hamburger-inner {
  transition-duration: 0.3s;
  transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.hamburger--spin .hamburger-inner::before {
  transition: top 0.1s 0.34s ease-in, opacity 0.1s ease-in;
}
.hamburger--spin .hamburger-inner::after {
  transition: bottom 0.1s 0.34s ease-in, -webkit-transform 0.3s cubic-bezier(0.55, 0.055, 0.675, 0.19);
  transition: bottom 0.1s 0.34s ease-in, transform 0.3s cubic-bezier(0.55, 0.055, 0.675, 0.19);
  transition: bottom 0.1s 0.34s ease-in, transform 0.3s cubic-bezier(0.55, 0.055, 0.675, 0.19), -webkit-transform 0.3s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.hamburger--spin.is-active .hamburger-inner {
  -webkit-transform: rotate(225deg);
  transform: rotate(225deg);
  transition-delay: 0.14s;
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}
.hamburger--spin.is-active .hamburger-inner::before {
  top: 0;
  opacity: 0;
  transition: top 0.1s ease-out, opacity 0.1s 0.14s ease-out;
}
.hamburger--spin.is-active .hamburger-inner::after {
  bottom: 0;
  -webkit-transform: rotate(-90deg);
  transform: rotate(-90deg);
  transition: bottom 0.1s ease-out, -webkit-transform 0.3s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1);
  transition: bottom 0.1s ease-out, transform 0.3s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1);
  transition: bottom 0.1s ease-out, transform 0.3s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-transform 0.3s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1);
}
/* 見出し
---------------------------------------------------- */
h1 {
  font-size: 42px;
}
h2 {
  font-size: 26px;
}
h3 {
  font-size: 24px;
}
h4 {
  font-size: 22px;
}
h5 {
  font-size: 20px;
}
h6 {
  font-size: 20px;
}
/* テキスト
---------------------------------------------------- */
p {
  font-size: 16px;
  line-height: 2em;
}
/* トップヘッダー画像
---------------------------------------------------- */
.top-header {
  width: 100%;
  margin: 0 auto;
  position: relative;
}
.top-header-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    /* font-family: "Zen Old Mincho", serif; */
    font-size: 60px;
    line-height: 1em;
    color: #FFF;
    font-weight: 900;
    text-shadow: 0 0 10px #000;
}
.top-header-title span {
  font-size: 30px;
  margin-left: 15px;
}
/* ***************************************************************** 
*	メイン（本文）コンテンツ
* ***************************************************************** */
.greeting {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  background: url(images/home/bg.jpg) no-repeat;
  background-size: contain;
  max-width: 1920px;
  margin: 0 auto;
}
.home_greeting {
  width: 100%;
  max-width: 1000px;
  padding: 150px 30px;
  margin: 0 auto;
}
.home_greeting h2 {
  font-size: 32px;
  text-align: center;
  font-weight: 600;
  margin-bottom: 50px;
}
.home_greeting h2 span {
  color: var(--main-color);
}
.company {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.home_company_img {
  position: absolute;
  left: 0;
  top: 0;
  max-width: 50%;
}
.home_company {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: right;
  z-index: 10;
  position: relative;
}
.home_company_txt {
  width: 45%;
}
.home_company_txt h2 {
  font-size: 28px;
  color: var(--main-color);
}
.home_company_txt p {
  margin: 50px 0;
}
.services {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  background: url(images/home/bg_right.jpg) no-repeat;
  background-size: contain;
  max-width: 1920px;
  margin: 0 auto;
  background-position: right;
}
.home_services {
  width: 100%;
  max-width: 1000px;
  padding: 90px 30px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  position: relative;
  z-index: 10;
}
.home_services_img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  z-index: 99;
  background: #FFF;
  padding: 20px;
  width: 300px;
}
.home_services_box {
  width: calc(100% / 2);
  padding: 5px;
  position: relative;
}
.se_ti {
  width: 100%;
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  padding: 30px;
  align-items: start;
}
.se_no {
  font-size: 42px;
  padding: 5px 15px;
  border: 1px solid;
  color: #FFF;
  line-height: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-family: "Zen Old Mincho", serif;
}
.se_na {
  font-size: 24px;
  color: #FFF;
  line-height: 1em;
  padding: 0 15px;
}
.se_na span {
  display: block;
  font-size: 14px;
}
.home_services_box p {
  font-size: 14px;
  position: absolute;
  bottom: 0;
  color: #FFF;
  padding: 30px;
  width: 280px;
  text-align: justify;
  text-justify: inter-ideograph;
}
.home_services_box:nth-child(even) p {
  right: 0; /* 右寄せのために追加 */
  padding: 30px; /* 既存のパディングを維持 */
  position: absolute; /* 元の指定を維持 */
  bottom: 0; /* 元の指定を維持 */
}
.home_services_box:nth-child(even) .se_ti {
  justify-content: flex-start; /* 左寄せに設定 */
  flex-direction: row-reverse; /* 子要素の順序を逆にする */
}
.home_services_box:nth-child(even) .se_no {
  order: 1; /* 順番を明示的に指定（オプション） */
}
.home_services_box:nth-child(even) .se_na {
  order: 2; /* 順番を明示的に指定（オプション） */
}
.works_info {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  background: var(--main-color);
  padding: 100px 0;
  margin-bottom: 0;
}
.home_works {
  width: 100%;
  max-width: 1200px;
  display: flex;
  margin: 0 auto;
  justify-content: space-between;
  padding: 100px 0;
}
.home_works_title {
  position: relative;
  width: 10%;
  border-right: #FFF 1px solid;
  display: flex;
  justify-content: center;
}
.home_works_title h2 {
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  font-size: 28px;
  font-weight: 600;
  color: #FFF;
}
.home_works_title h2 span {
  margin-top: 20px;
  font-size: 16px;
}
.home_works_txt {
  width: 40%;
  color: #FFF;
}
.home_works_txt p {
  margin-bottom: 100px;
}
.home_works_img_box {
  width: 40%;
  display: flex;
  flex-wrap: wrap;
}
.home_works_img {
  width: calc(100% / 3);
  padding: 3px;
}
.common_exterior {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  max-width: 1920px;
  margin: 0 auto;
}
/* ***************************************************************** 
*	ケイズについて
* ***************************************************************** */
.about_message {
  position: relative;
  background: #b2cbe442;
  z-index: 0;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  padding: 100px;
}
.am_img {
  position: absolute;
  top: -200px;
  left: 0;
  right: 0;
  margin: 0 auto;
  z-index: 5;
  width: 100%;
  max-width: 1200px; /* 必要に応じて調整 */
}
.am_txt {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 50px 70px;
  background: #FFF;
  position: relative;
  z-index: 10;
}
.am_txt h2 {
  font-size: 34px;
  color: var(--main-color);
  line-height: 1.5em;
  text-align: center;
  margin-bottom: 50px;
}
.am_txt p {
  line-height: 2em;
}
.section_title {
  text-align: center;
  margin-bottom: 25px;
}
.section_title h2 {
  color: var(--main-color);
  font-size: 34px;
  border-bottom: 1px solid #CCC;
  display: inline-block;
  line-height: 1em;
  padding: 10px 0;
  margin-bottom: 15px;
}
.section_title h2 span {
  font-size: 18px;
  display: block;
  padding: 5px 0 0;
  color: #000;
}
.at_koushi {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffffff;
  background-image: linear-gradient(to right, #cccccc85 1px, transparent 1px), /* 縦線 */ linear-gradient(to bottom, #cccccc85 1px, transparent 1px);
  background-size: 50px 50px;
  padding: 50px 0;
}
.at_koushi_pd20 {
  padding: 20px 0;
}
.attempt {
  width: 100%;
  max-width: 1200px;
  background: #efefef;
  padding: 50px 100px;
  margin: 0 auto;
}
.attempt h2 {
  font-size: 32px;
  text-align: center;
}
.attempt_box {
  display: flex;
  flex-direction: column;
  padding: 10px;
  max-width: 900px;
  margin: 0 auto;
}
.attempt_cate {
  width: 100%;
  position: relative;
  height: 200px;
}
.ac_ti {
  width: 100%;
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  padding: 30px;
  align-items: start;
  z-index: 10;
}
.ac_no {
  font-size: 42px;
  padding: 5px 15px;
  border: 1px solid;
  color: #FFF;
  line-height: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-family: "Zen Old Mincho", serif;
}
.ac_na {
  font-size: 24px;
  color: #FFF;
  line-height: 1em;
  padding: 0 15px;
}
.ac_na span {
  display: block;
  font-size: 14px;
}
.ac_txt {
  position: absolute;
  bottom: 0;
  left: 0;
  color: #FFf;
  width: 450px;
  padding: 30px;
  z-index: 10;
}
.ac_img {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 0;
}
.d_works {
  width: 100%;
}
.d_works_cont {
  width: 100%;
  position: relative;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.d_works_img {
  padding: 10px;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 5;
}
.d_works_box {
  position: absolute;
  right: 0;
  bottom: 75px;
  width: 600px;
  text-align: center;
  padding: 50px 80px;
  border: 1px solid #000;
  border-top: 1px solid #000;
  z-index: 10;
  background: #ffffffc2;
}
/* 偶数要素の場合に左右逆にする */
.d_works_cont:nth-child(even) .d_works_img {
  left: auto;
  right: 0; /* 画像を右側に配置 */
}
.d_works_cont:nth-child(even) .d_works_box {
  right: auto;
  left: 0; /* テキストボックスを左側に配置 */
}
.d_works_cont:nth-child(even) .d_works_bg {
  text-align: right;
}
.d_works_box h2 {
  font-size: 26px;
  background: var(--main-color);
  padding: 0 20px;
  display: inline-block;
  color: #FFF;
  position: absolute;
  top: -25px; /* d_works_boxのボーダー上に重ねる */
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
}
.d_works_box p {
  text-align: left;
}
.d_works_bg {
  width: 100%;
}
/* ***************************************************************** 
*	企業情報
* ***************************************************************** */
.company_message {
  width: 100%;
  position: relative;
  padding: 0 0 50px;
}
.cm_img {
  position: absolute;
  right: 0;
  top: -370px;
  z-index: 5;
}
.cm_txt_box {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
}
.cm_txt {
  width: 650px;
}
.cm_txt h2 {
  font-size: 50px;
  font-family: "Zen Old Mincho", serif;
  margin-bottom: 50px;
}
.cm_txt h2 span {
  color: var(--main-color);
}
.cm_txt p {
  font-size: 18px;
}
.president {
  font-size: 24px;
  text-align: right;
  color: var(--main-color);
  font-weight: 700;
}
.president span {
  display: block
}
.cm_bg {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
}
.aboutus-card {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #fff;
}
.aboutus-item {
  background-color: #f7f9fc;
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
.aboutus-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.aboutus-item h3 {
  font-size: 20px;
  color: #2e55a0;
  margin-bottom: 10px;
  border-left: 5px solid #2e55a0;
  padding-left: 10px;
}
.aboutus-item p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin: 0;
}
.business-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.business-list > li {
  flex: 1 1 calc(33.333% - 20px);
  background-color: #f2f6fb;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.business-list > li span {
  display: block;
  font-weight: bold;
  color: #2e55a0;
  margin-bottom: 10px;
}
.business-list ul {
  margin: 0;
  padding-left: 1.2em;
  list-style: disc;
  color: #555;
}
.business-list ul li {
  font-size: 14px;
  margin-bottom: 6px;
}
/* モバイル対応 */
@media (max-width: 768px) {
  .business-list > li {
    flex: 1 1 100%;
  }
}
.machine_full {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  padding: 25px 0;
}
.machine_bg_left {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}
.machine_bg_right {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
}
.machine_bg_left img, .machine_bg_right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* 薄く表示 */
}
.machine_bg_left::after, .machine_bg_right::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
}
.machine_bg_right::after {
  background: linear-gradient(to left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
}
.machine-table-section {
  padding: 0;
}
.section-header {
  text-align: center;
  margin-bottom: 15px;
}
.section-header h2 {
  font-size: 32px;
  margin-bottom: 5px;
  color: #1e2a38;
  line-height: 1em;
}
.section-subtitle {
  font-size: 14px;
  color: #777;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1em;
}
.table-container {
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
  max-width: 1200px;
  margin: 0 auto;
}
.table-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}
.machine-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.machine-table thead {
  background-color: #1e2a38;
  color: #fff;
}
.machine-table th, .machine-table td {
  padding: 16px;
  text-align: center;
  font-size: 16px;
  border-bottom: 1px solid #ccc;
}
.machine-table tbody tr {
  transition: background-color 0.3s, box-shadow 0.2s;
}
.machine-table tbody tr:hover {
  background-color: #eef3fa;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.ggmap {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  padding-bottom: 36.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
  margin-bottom: 0;
}
.ggmap iframe, .ggmap object, .ggmap embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.history {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  background: url(images/company/history_bg.jpg) no-repeat;
  min-height: 550px;
}
.cp_timeline04 {
  position: relative;
  margin: 0 auto 150px;
  max-width: 1200px;
  width: 100%;
}
.cp_timeline04:before {
  position: absolute;
  top: 0px;
  top: 50px;
  left: 45px;
  width: 3px;
  height: 100%;
  content: '';
  background: var(--main-color);
}
.cp_timeline04 .timeline_item {
  margin: 0px 0px 0px 80px;
}
.cp_timeline04 .timeline_item .time_date .time {
  font-family: "Zen Old Mincho", serif;
  font-size: 5.5em;
  position: relative;
  margin: 0;
  letter-spacing: 3px;
  color: #172d763d;
  line-height: 2em;
}
.cp_timeline04 .timeline_item .time_date .time:before {
  position: absolute;
  top: 50%;
  left: -44px;
  width: 20px;
  height: 20px;
  content: '';
  transform: rotate(45deg);
  border: 3px solid var(--main-color);
  background: #fff;
}
.cp_timeline04 .timeline_item .time_date .flag {
  font-size: 1.5em;
  font-weight: bold;
  margin: -55px 0 0 0;
  color: var(--main-color);
  line-height: 1.5em;
}
.cp_timeline04 .timeline_item .desc {
  font-size: 0.8em;
  line-height: 20px;
  margin-top: 10px;
  padding-left: 20px;
  border-left: 1px solid var(--main-color);
  margin-bottom: 60px;
}
@media only screen and (max-width: 767px) {
  .cp_timeline04:before {
    left: 16px;
    top: 10px;
  }
  .cp_timeline04 .timeline_item .time_date .time:before {
    left: -32px;
  }
  .cp_timeline04 .timeline_item {
    margin: 0px 0px 0px 40px;
  }
  .cp_timeline04 .timeline_item .desc {
    padding-left: 0px;
    border-top: 1px solid #880e4f;
    border-left: none;
  }
  .cp_timeline04 .timeline_item .time_date .time {
    font-size: 56px;
  }
  .cp_timeline04 .timeline_item .time_date .flag {
    font-size: 18px;
    margin: -40px 0 0 0;
  }
}
/* contactform
---------------------------------------------------- */
.contact_il {
  width: 100%;
  text-align: center;
}
.contact_title {
  font-size: 26px;
  text-align: center;
  padding: 20px 0;
}
.contact_info {
  font-size: 24px;
  text-align: center;
  padding: 10px 0;
  color: var(--main-color);
  border-bottom: 3px solid;
}
.contact_phone {
  background: #c3e6ff;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}
.contact_phone_left {
  font-size: 18px;
  padding: 0px 30px 0 0;
  width: 50%;
  text-align: right;
  line-height: 1.5em;
}
.contact_phone_right {
  padding: 15px 10px;
  text-align: center;
  background: #FFF;
  width: 60%;
}
.contact_phone_right img {
  text-align: center;
  width: 85%;
  vertical-align: middle;
  padding: 7px 0;
}
/*見出し欄*/
.inquiry {
  width: 100%;
  margin: 20px auto;
  position: relative;
  z-index: 0;
  max-width: 900px;
}
.inquiry p {
  font-size: 18px;
  color: #444;
  line-height: 200%;
  padding: 15px 0px 15px 0px;
  text-align: center;
}
.inquiry_title {
  width: 100%;
  font-size: 150%;
  margin: 50px auto;
  padding-bottom: 15px;
  border-bottom: solid 1px #3fa8f4;
}
.inquiry_title span {
  margin-right: 10px;
  vertical-align: text-bottom;
}
.inquiry_title span img {
  width: 45px;
}
.inquiry th {
  text-align: left;
  font-size: 18px;
  color: #444;
  width: 30%;
  padding: 15px 10px;
  background: none;
  border: none;
  vertical-align: middle;
}
/*通常欄*/
.inquiry td {
  font-size: 18px;
  border: none;
  padding: 10px 0px;
  width: 75%;
}
/*横の行とテーブル全体*/
.entry-content .inquiry tr, .entry-content table {
  border: solid 1px #d7d7d7;
}
/*必須の調整*/
.haveto {
  font-size: 15px;
  padding: 5px;
  background: #ff9393;
  color: #fff;
  border-radius: 2px;
  margin-right: 5px;
  position: relative;
  bottom: 1px;
}
/*任意の調整*/
.any {
  font-size: 15px;
  padding: 5px;
  background: #93c9ff;
  color: #fff;
  border-radius: 2px;
  margin-right: 5px;
  position: relative;
  bottom: 1px;
}
/*ラジオボタンを縦並び指定*/
.verticallist .wpcf7-list-item {
  display: block;
}
/*送信ボタンのデザイン変更*/
#formbtn {
  display: block;
  padding: 1em 0;
  margin-top: 30px;
  width: 50%;
  background: var(--main-color);
  color: #fff;
  font-size: 29px;
  font-weight: bold;
  border-radius: 10px;
  border: none;
  margin: 30px auto 0;
  border: 1px solid var(--main-color);
}
/*送信ボタンマウスホバー時*/
#formbtn:hover {
  background: #FFF;
  color: var(--main-color);
}
.wpcf7 input[name="your-name"], .wpcf7 input[name="your-kana"], .wpcf7 input[name="your-company"], .wpcf7 input[name="your-email"], .wpcf7 input[name="your-tel"], .wpcf7 input[name="your-postalcode"], .wpcf7 input[name="your-address"] {
  width: 100%;
  height: 50px !important;
}
.wpcf7 textarea {
  width: 100%;
  height: 350px !important;
}
.contact_form_policy {
  width: 80%;
  margin: 0 auto;
  font-size: 18px;
  background: #3fa7f35e;
  padding: 30px 50px;
  border-radius: 10px;
  text-align: center;
}
.contact_form_policy a {
  font-weight: 600;
  color: var(--main-color);
}
/* 個人情報の取り扱い
---------------------------------------------------- */
.policy {
  width: 100%;
  overflow: hidden;
}
.policy_info {
  width: 100%;
  font-size: 18px;
}
.policy_midashi {
  font-size: 24px;
  border-left: 5px solid var(--main-color);
  padding: 0 0 0 15px;
  color: var(--main-color);
  font-weight: bold;
  margin-top: 20px;
}
.policy p {
  padding: 20px;
  font-size: 16px;
}
.policy p span {
  font-size: 18px;
  font-weight: bold;
  padding: 10px 20px;
  border: 1px solid;
  display: inline-block;
  margin: 15px 0;
}
/* 施工事例
---------------------------------------------------- */
.construction {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 30px;
  padding: 0 15px;
}
.construction_title {
  font-size: 28px;
  background: var(--main-color);
  color: #FFF;
  padding: 15px 0;
  line-height: 1em;
  text-align: center;
}
.works_message {
  width: 100%;
  position: relative;
  margin-bottom: 150px;
}
.wm_img {
  position: relative;
  z-index: 1;
}
.wm_txt {
  position: absolute;
  bottom: -75px;
  z-index: 2;
  background: #FFF;
  padding: 25px 50px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  width: 85%;
}
.wm_txt h2 {
  font-size: 24px;
  text-align: center;
}
.works_item {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  padding: 30px 0;
  background: #efefef;
	margin-bottom: 0;
}
.works_list {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}
.works_box {
  width: calc(100% / 3);
  padding: 15px;
}
.works_img {
  width: 100%;
  height: 260px;
  display: flex; /* 中央揃えのためにフレックスボックスを使用 */
  justify-content: center; /* 横方向の中央揃え */
  align-items: center; /* 縦方向の中央揃え */
  overflow: hidden; /* 画像が枠からはみ出た部分を隠す */
  background-color: #f0f0f0; /* 必要に応じて背景色を設定 */
  max-width: 350px;
}
.works_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.works_txt {
  width: 100%;
  position: relative;
  padding: 35px 20px;
  background: #FFF;
  max-width: 350px;
}
.works_img, .works_txt {
  margin: 0 auto;
}
.works_site {
  position: absolute;
  top: -25px;
  z-index: 10;
  background: var(--main-color);
  color: #FFF;
  padding: 5px 0;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  width: 60%;
  text-align: center;
  font-size: 20px;
}
.works_title {
  font-size: 22px;
  line-height: 1em;
}
.works_time {
  font-size: 16px;
  line-height: 1em;
  margin-bottom: 10px;
}
.c_details {
  width: 100%;
  padding: 0 15px;
  margin-bottom: 0;
}
.cd_time {
  font-size: 22px;
  border-bottom: 1px solid;
  color: var(--main-color);
  display: inline-block;
  padding: 0 10px;
}
.cd_img {
  padding: 15px 0;
}
.cd_title {
  font-size: 24px;
}
.cd_title span {
  margin-right: 20px;
}
.c_details_wide {
  background: #b2cbe442;
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  padding: 30px 0;
  margin: 20px 0 0;
}
.c_details table {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}
.c_details tr {
  width: 100%;
  border-bottom: 1px solid;
  background: #FFF;
}
.c_details th, .c_details td {
  padding: 10px 15px;
  vertical-align: middle;
  font-size: 18px;
}
.c_details th span {
  background: var(--main-color);
  padding: 5px 20px;
  color: #FFF;
  display: inline-block;
  width: 100%;
  word-wrap: break-word;
  letter-spacing: 2px;
  text-align: justify;
  text-align-last: justify;
}
.c_details th {
  width: 20%;
}
/* ***************************************************************** 
*	共通（リンクボタン）
* ***************************************************************** */
.title {
  position: relative;
  height: 150px;
}
.title h2 {
  font-size: 32px;
  color: var(--main-color);
  position: absolute;
  left: 0;
  bottom: 5px;
  z-index: 2;
  line-height: 1em;
  font-weight: 600;
  margin-left: 10px;
}
.title h3 {
  font-size: 120px;
  color: #efefef;
  position: absolute;
  left: 0;
  bottom: 0;
  font-family: "Zen Old Mincho", serif;
  z-index: 1;
  line-height: 1em;
  font-weight: 500;
}
.title_mb {
  margin-bottom: 250px;
}
.link_btn-container {
  text-align: right; /* ボタンを右揃えに */
}
.link_btn a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin: 0 auto;
  padding: 0.9em 5em;
  overflow: hidden;
  border: 1px solid;
  border-radius: 5px;
  background-color: #fff;
  color: var(--main-color);
  font-size: 16px;
  font-weight: 700;
}
.link_btn a:hover {
  background-color: transparent;
  color: #fff;
}
.link_btn a::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 0;
  height: 100%;
  background-color: var(--main-color);
  content: '';
  transition: width .3s ease;
}
.link_btn a:hover::before {
  width: 100%;
}
.link_btn a::after {
  transform: rotate(45deg);
  width: 5px;
  height: 5px;
  margin-left: 10px;
  border-top: 2px solid var(--main-color);
  border-right: 2px solid var(--main-color);
  content: '';
}
.link_btn a:hover::after {
  border-color: #fff;
}
.link_btn_white-container {
  text-align: right; /* ボタンを右揃えに */
}
.link_btn_white a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin: 0 auto;
  padding: 0.9em 5em;
  overflow: hidden;
  border: 1px solid;
  border-radius: 5px;
  background-color: var(--main-color); /* 反転: 通常時はメインカラー */
  color: #fff; /* 反転: テキストを白に */
  font-size: 16px;
  font-weight: 700;
}
.link_btn_white a:hover {
  background-color: #fff; /* ホバー時は白背景 */
  color: var(--main-color); /* ホバー時はメインカラーの文字色 */
}
.link_btn_white a::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 0;
  height: 100%;
  background-color: var(--main-color); /* 通常時: ホバーの逆の背景色 */
  content: '';
  transition: width .3s ease;
}
.link_btn_white a:hover::before {
  width: 100%;
  background-color: #FFF; /* ホバー時: メインカラー */
}
.link_btn_white a::after {
  transform: rotate(45deg);
  width: 5px;
  height: 5px;
  margin-left: 10px;
  border-top: 2px solid #fff; /* 通常時: 矢印を白に */
  border-right: 2px solid #fff;
  content: '';
}
.link_btn_white a:hover::after {
  border-color: var(--main-color); /* ホバー時: 矢印をメインカラーに */
}
/* ***************************************************************** 
*	メイン（本文）コンテンツ
* ***************************************************************** */
#main {
  margin: 0;
  padding: 0;
}
/* WP必須
---------------------------------------------------- */
.wp-caption {
  max-width: 100%;
}
.wp-caption-text {
  font-size: 90%;
  text-align: center;
}
.sticky {}
.gallery-caption {}
.bypostauthor {}
/* Text meant only for screen readers. */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}
.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000; /* Above WP toolbar. */
}
/* *****************************************************************
*	フッター
* ***************************************************************** */
#footer {
  background: #b2cbe442;
  clear: both;
  width: 100%;
  margin: 0px auto;
}
.footer-inner {
  margin: 0px auto;
  max-width: 1200px;
  padding: 100px 0;
  display: flex;
  align-items: center;
}
.company_info {
  width: 30%;
}
.f_logo {
  margin-bottom: 10px;
}
.f_add {
  font-size: 18px;
  line-height: 1.5em;
}
.footer-menu {
  width: 70%;
  display: flex;
  flex-wrap: wrap;
  padding: 20px 50px;
  justify-content: space-between;
}
.footer-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  width: calc(100% / 3);
}
.footer-menu li {
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid #c9caca;
  box-sizing: border-box;
  margin-right: 10px;
}
.footer-menu a {
  text-decoration: none;
  color: #000;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: 1px;
  position: relative;
  padding-left: 15px;
}
.footer-menu a::after {
  content: ">";
  font-size: 16px;
  color: #888;
  position: absolute;
  right: 30px;
}
#copyright {
  font-size: 16px;
  line-height: 110%;
  color: #FFF;
  text-align: left;
  position: relative;
  margin: 0;
  padding: 10px;
  background: #172d76;
}
/* パンくずリスト
---------------------------------------------------- */
.breadcrumb {
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 30px;
}
.breadcrumb div {
  display: inline;
  font-size: 16px;
  color: #999;
}
.breadcrumb span, .breadcrumb span a {
  color: #000;
}
.breadcrumb ol {
  margin: 0px;
}
.breadcrumb li {
  margin: 0px;
  display: inline;
}
/* *****************************************************************
*	CSS3アニメーション
* ***************************************************************** */
.img-anime2 img {
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
.img-anime2:hover img {
  -webkit-transform: scale(1.3);
  transform: scale(1.3);
}
/* *****************************************************************
*   レスポンシブ（メディアクエリ）
* ***************************************************************** */
/* Tablet (Portrait) 画面の横幅が751px〜1299pxまで
---------------------------------------------------- */
@media only screen and (min-width: 751px) and (max-width: 1299px) {
  .wrapper {
    width: 100%;
    margin: auto;
    padding: 0 30px 30px;
  }
  .header-inner {
    width: 100%;
    padding: 10px 20px;
    align-items: flex-start;
  }
  #nav {
    float: none;
    width: 100%;
    margin: 0 auto;
    padding: 0;
  }
  section {
    margin-bottom: 30px;
  }
  p {
    line-height: 1.8;
  }
  .greeting, .company, .services, .works_info, .cm_txt_box {
    padding: 0 30px;
  }
  .works_item {
    padding: 30px;
  }
  .home_company_txt h2 {
    font-size: 24px;
    line-height: 1.5em;
  }
  .home_company_txt p {
    margin: 20px 0;
  }
  .wm_txt {
    padding: 25px 10px;
  }
  .wm_txt h2 {
    font-size: 20px;
  }
  .footer-inner {
    width: 100%;
    padding: 30px;
  }
  .footer-menu {
    width: 70%;
    padding: 20px 30px;
  }
  .footer-menu ul {
    width: calc(100% / 2);
  }
  .footer-menu li {
    margin-bottom: 5px;
  }
  .footer-menu a {
    font-size: 14px;
  }
  .f_add {
    font-size: 14px;
  }
}
@media only screen and (min-width: 751px) and (max-width: 1299px) {
  .nav-menu li a {
    font-size: 14px;
    padding: 10px 15px;
  }
  .nav-menu li:last-child a {
    border-radius: 10px;
    padding: 5px 20px 5px 30px;
  }
  .nav-menu li:last-child a:before {
    left: 10px;
  }
}
@media only screen and (min-width: 751px) and (max-width: 1299px) {
  .nav-menu li a {
    font-size: 14px;
    padding: 10px 15px;
  }
  .nav-menu li:last-child a {
    border-radius: 10px;
    padding: 5px 20px 5px 30px;
  }
  .nav-menu li:last-child a:before {
    left: 10px;
  }
  .top-header-title {
    font-size: 48px;
    width: 100%;
  }
  .home_greeting {
    padding: 80px 30px;
  }
  .home_company_img {
    left: -170px;
    max-width: 60%;
  }
  .home_company_txt {
    width: 60%;
  }
  .home_services_img {
    width: 160px;
  }
  .home_services {
    padding: 20px 0px;
  }
  .home_works_img {
    width: calc(100% / 2);
  }
  .home_works_img {
    display: none;
  }
  .home_works_img:nth-child(-n+8) {
    display: block;
  }
  .f_add {
    display: flex;
    flex-direction: column;
  }
  .f_add br {
    display: none;
  }
  .f_add span {
    display: block;
    line-height: 1.5em;
  }
  .f_add .slash {
    display: none;
  }
  .about_message {
    padding: 50px 25px;
  }
  .am_txt h2, .attempt h2 {
    font-size: 28px;
  }
  .attempt {
    padding: 50px 20px;
  }
  .attempt_cate {
    height: 155px;
  }
  .ac_ti {
    padding: 20px 20px 0;
  }
  .ac_txt {
    width: 500px;
    padding: 0 20px 5px;
  }
  .works_box {
    width: calc(100% / 2);
  }
  .works_img img {
    object-fit: cover;
  }
  .cm_img {
    right: unset;
    left: 90px;
  }
  .cm_bg {
    bottom: 50px;
    left: unset;
    right: 50px;
  }
  .aboutus-item h3 {
    font-size: 26px;
  }
  .aboutus-item p {
    font-size: 20px;
  }
  .business-list {
    flex-wrap: nowrap;
  }
  .business-list > li span {
    font-size: 18px;
  }
  .business-list ul li {
    font-size: 16px;
  }
}
/* Mobile (Portrait) 画面の横幅が300px~750pxまで（基本）
---------------------------------------------------- */
@media only screen and (max-width: 750px) {
  .wrapper {
    width: 100%;
    padding: 30px 20px 0;
  }
  .header-inner {
    width: 100%;
    margin: auto;
    padding: 10px;
  }
  #nav {
    display: none;
    position: absolute;
    float: none;
    text-align: center;
    width: 100%;
    background: #fefefe;
    margin: 0 auto 40px auto;
    padding: 0;
    z-index: 99;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
  }
  .nav-menu li a {
    color: #333;
    display: block;
    font-size: 15px;
    padding: 15px 10px;
    text-decoration: none;
  }
  .nav-menu li {
    display: block;
    float: none;
    border-bottom: 1px solid #ededed;
  }
  .nav-menu li:last-child a {
    border-radius: 0;
    padding: 15px 0;
  }
  .toggle {
    display: block;
    float: right;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10000;
  }
  p {
    font-size: 14px;
  }
  #header h1 {
    width: 200px;
    height: 55px;
  }
  .logo_area {
    width: 100%;
  }
  .top-header-title {
    font-size: 26px;
    width: 100%;
  }
  .top-header-title span {
    font-size: 20px;
  }
  .greeting {
    background-size: cover;
    margin-bottom: 30px;
  }
  .home_greeting {
    padding: 20px 30px;
  }
  .home_greeting h2 {
    font-size: 22px;
    margin-bottom: 10px;
  }
  .company {
    padding: 0 30px;
  }
  .home_company_img {
    position: unset;
    max-width: 100%;
  }
  .home_company_txt {
    width: 100%;
  }
  .home_company_txt h2 {
    font-size: 24px;
    line-height: 1.5;
    padding: 30px 0;
  }
  .home_company_txt p {
    margin: 0 0 50px;
  }
  .home_services_img {
    position: relative;
    top: 20px;
    left: unset;
    transform: unset;
    -webkit-transform: unset;
    -ms-transform: unset;
    z-index: 99;
    background: #FFF;
    padding: 20px;
    width: 250px;
    margin: 0 auto;
  }
  .services {
    background-size: cover;
  }
  .home_services {
    padding: 30px 30px;
    flex-direction: column;
  }
  .home_services_box {
    width: calc(100% / 1);
  }
  .se_ti {
    padding: 15px;
  }
  .home_services_box p {
    padding: 15px;
    width: 100%;
    line-height: 1.5;
  }
  .works_info {
    padding: 50px 30px;
  }
  .home_works {
    padding: 0;
  }
  .home_works {
    flex-direction: column;
    align-items: center;
    padding: 0;
  }
  .home_works_title, .home_works_txt, .home_works_img_box {
    width: 100%;
  }
  .home_works_title {
    border-right: none;
    border-bottom: 1px solid #FFF;
    margin-bottom: 20px;
    writing-mode: horizontal-tb; /* 横書きに戻す場合 */
    justify-content: flex-start;
  }
  .home_works_title h2 {
    writing-mode: horizontal-tb;
    -ms-writing-mode: horizontal-tb;
    font-size: 28px;
  }
  .home_works_title h2 span {
    margin-top: unset;
    font-size: 16px;
    margin-left: 10px;
  }
  .home_works_txt p {
    margin-bottom: 30px;
  }
  .home_works_img {
    width: calc(100% / 2); /* 画像は2列に */
  }
  .home_works_img {
    display: none;
  }
  .home_works_img:nth-child(-n+8) {
    display: block;
  }
  .link_btn-container, .link_btn_white-container {
    text-align: center;
  }
  .link_btn_white-container {
    margin-bottom: 50px;
  }
  .footer-inner {
    width: 100%;
    padding: 0px 0px;
    flex-direction: column;
  }
  .company_info {
    width: 100%;
    text-align: center;
    padding: 50px 30px;
  }
  .f_add {
    display: flex;
    flex-direction: column;
    font-size: 14px;
  }
  .f_add br {
    display: none;
  }
  .f_add span {
    display: block;
    line-height: 1.5;
    font-size: 16px;
  }
  .f_add .slash {
    display: none;
  }
  .footer-menu {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
    background-color: #03a9f4;
    color: #FFF;
  }
  .footer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
  }
  .footer-menu li {
    margin-bottom: 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 5px;
  }
  .footer-menu a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    letter-spacing: 0.5px;
    position: relative;
    padding-left: 20px;
    display: inline-block;
    transition: color 0.3s ease;
  }
  .footer-menu a::before {
    content: "▶";
    font-size: 12px;
    color: #6cceff;
    transition: transform 0.3s ease;
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
  }
  .footer-menu a::after {
    display: none;
  }
  .footer-menu a:hover {
    color: #0af;
  }
  .footer-menu a:hover::before {
    transform: translateX(4px);
  }
  .title {
    height: 90px;
  }
  .title_mb, .title_works_mb {
    margin-top: 0px;
  }
  .title_works_mb {
    margin-bottom: 50px;
  }
  .about_message {
    padding: 25px;
  }
  .am_txt {
    padding: 50px 15px;
  }
  .am_txt h2 {
    font-size: 22px;
    margin-bottom: 20px;
  }
  .attempt {
    padding: 30px;
  }
.attempt_box {
    padding: 10px 0;
}
  .attempt h2 {
    font-size: 22px;
  }
  .ac_img {
    width: 100%;
    height: 100%;
  }
  .ac_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    object-position: 60% 40%;
  }
  .ac_ti {
    padding: 10px;
  }
  .ac_txt {
    padding: 10px;
    z-index: 10;
    line-height: 1.5;
    width: 100%;
  }
  .d_works_cont {
    margin-bottom: 30px;
  }
  .d_works_box {
    bottom: 0;
    width: 100%;
    padding: 40px 25px;
  }
  .d_works_box h2 {
    font-size: 22px;
    width: 90%;
  }
  .machine-table-section {
    margin-bottom: 0;
  }
  .machine_full {
    padding: 50px 0;
  }
  .machine_bg_left {
    top: 170px;
  }
  .machine_bg_right {
    top: unset;
    bottom: 0;
  }
  .title h2 {
    font-size: 32px;
  }
  .title h3 {
    font-size: 55px;
    bottom: 30px;
  }
  .cm_img {
    top: -170px;
  }
  .company_message {
    padding: 0 30px 50px;
  }
  .cm_txt {
    width: 100%;
  }
  .cm_txt h2 {
    font-size: 30px;
    margin-bottom: 20px;
  }
  .cm_txt p {
    font-size: 16px;
  }
  .cm_bg {
    display: none;
  }
  .president {
    font-size: 20px;
    line-height: 1.5;
  }
  .aboutus-card {
    padding: 0 0 40px;
  }
  .ggmap {
    padding-bottom: 76.25%;
  }
  .wm_txt {
    padding: 15px 20px;
    width: 90%;
    top: 70px;
  }
  .wm_txt h2 {
    font-size: 16px;
    text-align: left;
    font-weight: 500;
    line-height: 1.5;
  }
  .construction_title {
    font-size: 22px;
  }
  .works_box {
    width: calc(100% / 1);
  }
  .works_img img {
    object-fit: cover;
  }
  .works_item {
    margin-bottom: 0;
  }
  .contact_title {
    font-size: 16px;
    padding: 0 0 20px;
    line-height: 1.5;
  }
  .contact_phone {
    flex-direction: column;
    margin-bottom: 30px;
  }
  .contact_phone_left {
    font-size: 12px;
    padding: 0 0 10px;
    width: 100%;
    text-align: center;
    line-height: 1.5em;
  }
  .contact_phone_right {
    padding: 10px;
    width: 100%;
  }
  .inquiry th {
    width: 100%;
    padding: 10px 0 5px;
    display: block;
  }
  .inquiry td {
    padding: 0 0 10px;
    width: 100%;
    display: block;
  }
  .contact_form_policy {
    width: 100%;
    font-size: 16px;
    padding: 20px;
    text-align: left;
    line-height: 1.5;
  }
  .inquiry p {
    font-size: 14px;
    line-height: 1.5;
    padding: 15px 0px;
    text-align: left;
  }
  #formbtn {
    padding: 10px 0;
    width: 100%;
    font-size: 18px;
  }
  .cd_title {
    font-size: 20px;
  }
  .c_details th, .c_details td {
    display: block;
    width: 100%;
  }
  .c_details th span {
    text-align-last: center;
    padding: 0;
  }
  .c_details_wide {
    padding: 30px 15px;
    margin-bottom: 0;
  }
  .c_details {
    margin-bottom: 0;
  }
  section {
    margin-bottom: 50px;
  }
#copyright {
    font-size: 12px;
}
}
/* デフォルト（PCなど）では非表示 */
.br-pc {
  display: inline;
}
.br-sp {
  display: none;
}
/* スマホ（画面幅768px以下など）の場合のみ表示 */
@media screen and (max-width: 768px) {
  .br-pc {
    display: none;
  }
  .br-sp {
    display: inline;
  }
}

.more-btn-wrap {
  text-align: center;
  margin: 30px 0;
}

#load-more {
  padding: 10px 30px;
  background: var(--sub-color);
  color: #fff;
  border: none;
  cursor: pointer;
}

/* reCAPTCHAバッジを左下に配置 */

.grecaptcha-badge {
  width: 70px !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
  left: 4px !important;
}
.grecaptcha-badge:hover {
  width: 256px !important;
}

/* 404ページ用 */
.not_found {
  text-align: center;        /* 中央寄せ */
  padding: 80px 20px;        /* 上下の余白 */
  background-color: #f9f9f9; /* 薄い背景色 */
}

.not_found h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #333;
  font-weight: 600;
  line-height: 1.4;
}

.not_found p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 30px;
  line-height: 1.8;
}

.not_found .link_bn a {
  display: inline-block;
  background: #333;       /* ボタン背景 */
  color: #fff;            /* 文字色 */
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.not_found .link_bn a:hover {
  background: #555;       /* ホバー時 */
}

/* スマホ対応 */
@media (max-width: 768px) {
  .not_found {
    padding: 60px 15px;
  }
  .not_found h2 {
    font-size: 1.5rem;
  }
  .not_found p {
    font-size: 0.95rem;
  }
}
