@charset "utf-8";

/*
Theme Name:有限会社ケイエム重機
*/

:root {
  /* font-family */
  --font-gothic: 'Poppins', 'LINE Seed JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Noto Sans JP', sans-serif;
  --font-awesome: "FontAwesome";
  /* color */
  --color-blue: #005bc3;
/*  --color-rightblue: #f2f6fa;*/
  --color-white: #fff;
  --color-yellow: #ffdb00;
/*  --color-rightyellow: #fffab1;*/
  --color-red: #ed0a0a;
/*  --color-pink: #d65b5b;
  --color-rightpink: #f5d3d3;*/
/*  --color-green: #1f7a5b;*/
  --color-orange: #e58b20;
  --color-gray: #303232;
  --color-rightbeige: #f1f1ec;
  --color-rightgray: #f0f0f0;
}

/*===============================
 全体共通
===============================*/
body {
  background: var(--color-white);
  color: var(--color-gray);
  font-family: var(--font-gothic);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: .03em;
  line-height: 1.8;
  transition: all .3s linear;
  word-break: break-word;
  position: relative;
}

ul,ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 768px)  {
  .col-reverse {
    flex-direction: column-reverse; 
  }
}

@media (max-width: 479px)  {
  body {
    font-size: 16px;
  }
}

/*---------- PC・スマホ切り替え ----------*/
.pc {
  display: block;
}

.sp {
  display: none;
}

@media screen and (max-width:639px) {
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
}

/*---------- 背景 ----------*/
.bg_wt { /* ホワイト */
  background: var(--color-white);
}

.bg_rb { /* ライトベージュ */
  background: var(--color-rightbeige);
}

.bg_gr { /* グレー */
  background: var(--color-gray);
}

.bg_yl { /* イエロー */
  background: var(--color-yellow);
}

/*---------- 枠 ----------*/
.wrapper {
  box-sizing: border-box;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 30px;
}

.box_1000 {
  max-width: 1000px;
  margin: 0 auto;
}

.box_750 {
  max-width: 750px;
  margin: 0 auto;
}

.waku_pink {
  background: var(--color-rightpink);
  border-radius: 25px;
  overflow: hidden;
}

@media screen and (max-width:639px) {
  .wrapper {
    padding: 0 15px;
  }
}

/*---------- リンク ----------*/
a {
  color: var(--color-blue);
  transition: all .5s;
}

a:hover {
  text-decoration: none;
}

/*---------- ボタン ----------*/
/* ホワイトボタン */
.btn_wt {
  box-sizing: border-box;
  background: var(--color-white);
  color: var(--color-gray);
  border: 2px solid var(--color-gray);
  border-radius: 100px;
  font-weight: bold;
  line-height: 2;
  padding: 10px 30px;
  margin-top: 1.5em;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  outline: none;
  cursor: pointer;
  transition: all .5s linear;
  min-width: 200px;
}

.btn_wt:hover {
  background: var(--color-gray);
  color: var(--color-white);
}

/* ブルーボタン */
.btn_bl {
  box-sizing: border-box;
  background: var(--color-blue);
  color: var(--color-white);
  border: 2px solid var(--color-blue);
  border-radius: 100px;
  font-weight: bold;
  line-height: 2;
  padding: 10px 30px;
  margin-top: 1.5em;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  outline: none;
  cursor: pointer;
  transition: all .5s linear;
  min-width: 200px;
}

.btn_bl:hover {
  background: var(--color-white);
  color: var(--color-blue);
}

.btn_bl:disabled {
  opacity: 0.5;
}

.btn_bl:disabled:hover {
  background: var(--color-blue);
  color: var(--color-white);
}

/* グリーンボタン 
.btn_gr {
  box-sizing: border-box;
  background: var(--color-green);
  color: var(--color-white);
  border: 2px solid var(--color-green);
  border-radius: 100px;
  font-weight: bold;
  line-height: 2;
  padding: 10px 30px;
  margin-top: 1.5em;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  outline: none;
  cursor: pointer;
  transition: all .5s linear;
  min-width: 200px;
}

.btn_gr:hover {
  background: var(--color-white);
  color: var(--color-green);
}*/

/* ピンクボタン
.btn_pi {
  box-sizing: border-box;
  background: var(--color-pink);
  color: var(--color-white);
  border: 2px solid var(--color-pink);
  border-radius: 100px;
  font-weight: bold;
  line-height: 2;
  padding: 10px 30px;
  margin-top: 1.5em;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  outline: none;
  cursor: pointer;
  transition: all .5s linear;
  min-width: 200px;
}

.btn_pi:hover {
  background: var(--color-white);
  color: var(--color-pink);
} */

/* オレンジボタン 
.btn_or {
  box-sizing: border-box;
  background: var(--color-orange);
  color: var(--color-white);
  border: 2px solid var(--color-orange);
  border-radius: 100px;
  font-weight: bold;
  line-height: 2;
  padding: 10px 30px;
  margin-top: 1.5em;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  outline: none;
  cursor: pointer;
  transition: all .5s linear;
  min-width: 200px;
}

.btn_or:hover {
  background: var(--color-white);
  color: var(--color-orange);
}*/


/*---------- バッジ ----------*/
/* NEWバッジ */
.badge_new {
  color: var(--color-white);
  background: var(--color-red);
  border-radius: 3px;
  display: inline-block;
  font-size: 0.8rem;
  padding: 3px 10px;
}

@media screen and (max-width:959px) {
  .badge_new {
    font-size: 0.6rem;
  }
}


/*---------- 見出し ----------*/
h2,h3,h4,h5,h6 {
  font-family: var(--font-gothic);
  font-weight: bold;
}

h2 {
  color: var(--color-gray);
  display: block;
  font-weight: 800;
  font-size: 36px;
}

h3 {
  font-size: 24px;
}

@media screen and (max-width:959px) {
  h2 {
    font-size: 30px;
  }
  h3 {
    font-size: 20px;
  }
}

/*---------- お知らせリスト ----------*/
.news_list li {
  border-bottom: 1px dotted var(--color-gray);
}

.news_list li a {
  color: var(--color-gray);
  display: flex;
  align-items: flex-start;
  padding: 20px;
}

.news_list li a:hover {
  color: var(--color-yellow);
}

.news_list li span {
  font-size: 1rem;
  margin-right: 1.5em;
}

.news_list li p {
  font-size: 1.25rem;
  margin: 0;
}

@media screen and (max-width:639px) {
  .news_list li a {
    padding: 20px 10px;
  }
  .news_list li span {
    font-size: 14px;
    display: block;
  }
  .news_list li p {
    font-size: 18px;
  }
}

/*---------- テーブル ----------*/
.wp-block-table,
.uk-table {
  border-collapse: collapse;
  box-sizing: border-box;
  table-layout: fixed;
  word-break: break-all;
  word-wrap: break-all;
}

.wp-block-table caption,
.uk-table caption {
  background: var(--color-blue);
  color: var(--color-white);
  font-weight: bold;
  font-size: 16px;
  padding: 10px;
}

.wp-block-table th,
.uk-table th {
  color: var(--color-gray);
  font-weight: bold;
  font-size: 16px;
  vertical-align: top;
  width: 20em;
  text-align: left;
}

.wp-block-table th,
.uk-table th,
.wp-block-table td,
.uk-table td {
  box-sizing: border-box;
  border: none!important;
  border-bottom: 1px dotted var(--color-rightgray)!important;
}

.wp-block-table tr:last-child th,
.uk-table tr:last-child th,
.wp-block-table tr:last-child td,
.uk-table tr:last-child td {
  border: none!important;
}

@media screen and (max-width:959px) {
  .wp-block-table th,
  .uk-table th,
  .wp-block-table td,
  .uk-table td {
    display: block;
    width: 100%;
  }
  .wp-block-table th,
  .uk-table th {
    border-bottom: none!important;
  }
  .wp-block-table td,
  .uk-table td {
    padding: 0 12px 16px;
  }
}

/*---------- ページナビ ----------*/
.wp-pagenavi {
  text-align: center;
  margin: 2em auto;
}

/*---------- アニメーション ----------*/
/* 下から出現 */
.fadeUpTrigger{
  opacity: 0;
}

/* 左から出現 */
.fadeRightTrigger{
  opacity: 0;
}

/* 右から出現 */
.fadeLeftTrigger{
  opacity: 0;
}

/* 順番に下から出現 */
.delayScroll > * {
  opacity: 0;
}

/* 左から出現 */
.fadeRight{
  animation: fadeRightAnime 1s forwards;
  opacity: 0;
}
@keyframes fadeRightAnime{
  from {
    opacity: 0;
    transform: translateX(-80px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* 右から出現 */
.fadeLeft{
  animation: fadeLeftAnime 1s forwards;
  opacity: 0;
}
@keyframes fadeLeftAnime{
  from {
    opacity: 0;
    transform: translateX(80px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* 下から出現 */
.fadeUp {
  animation: fadeUpAnime 1s forwards;
  opacity: 0;
}
@keyframes fadeUpAnime{
  from {
    opacity: 0;
    transform: translateY(80px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 背景色が消えてから表示 */
.mask-bg {
  display: block;
  opacity: 0;
  overflow: hidden;
  position: relative;
  transition: color 0ms 450ms;
}
.mask-bg::after {
  background: var(--color-yellow);
  bottom: 0;
  content: '';
  display: block;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transform: translate(0, 100%);
}
.mask-bg.is-animated {
  opacity: 1;
}
.mask-bg.is-animated::after {
  animation: mask-bg 1.2s cubic-bezier(0.8, 0, 0.170, 1);
}

@keyframes mask-bg {
  0% {
    transform: translate(101%, 0);
  }
  40%, 60% {
    transform: translate(0%, 0);
  }
  100% {
    transform: translate(-100%, 0);
  }
}



/*===============================
 header
===============================*/
header {
  background: var(--color-white);
  box-shadow: 0px 10px 7px -4px rgba(0, 0, 0, 0.05);
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 150;
}

.header_wrapper {
  padding: 5px;
}

header a {
  color: var(--color-gray);
  font-weight: bold;
}

@media screen and (max-width:959px) {
  .header_wrapper {
    padding: 15px;
  }
}

/*---------- logo ----------*/
header h1,
header .logo {
  width: 300px;
  margin: 0;
}

header h1 a:hover,
header .logo a:hover {
  color: var(--color-gray);
  opacity: 0.6;
}

header h1 img,
header .logo img,
header h1 a,
header .logo a {
  color: var(--color-gray);
  display: block;
  font-size: 12px;
  font-family: var(--font-gothic);
  font-weight: normal !important;
  line-height: 1.3;
}

@media screen and (max-width:1070px) {
  header h1,
  header .logo {
    width: 250px;
  }
}

@media screen and (max-width:959px) {
  header h1,
  header .logo {
    margin: 0;
  }
}

/*---------- pc nav ----------*/
.header_nav_pc > div {
  gap: 15px;
}

.uk-navbar-container {
  background: transparent !important;
}

/*.uk-navbar-container.active {
  display: block;
}*/

.uk-navbar-nav {
  gap: 0;
}

.uk-navbar-nav li a {
  color: var(--color-gray);
/*  display: inline-block;*/
  display: flex;
  align-items: center;
  font-size: 16px;
  font-family: var(--font-gothic);
  font-weight: 600;
  min-height: 50px;
  padding: 0 10px;
  transition: all .5s;
}

.uk-navbar-nav li:last-child a {
  background: var(--color-red);
  color: var(--color-white);
}

.uk-navbar-nav li a:hover {
  color: var(--color-yellow);
}

.uk-navbar-nav li a img {
  width: 225px;
}

.header_nav_pc_tel a {
  font-size: 0.7rem !important;
  line-height: 1.2;
  flex-direction: column;
  align-items: center;
  align-content: center;
}

.header_nav_pc_tel span:first-child {
  font-size: 1.4rem;
  font-weight: 700;
}

@media screen and (max-width:1070px) {
  .uk-navbar-nav li a {
    font-size: 14px;
  }
  .header_nav_pc_tel a {
    font-size: 0.6rem !important;
  }
  .header_nav_pc_tel span:first-child {
    font-size: 1.2rem;
  }
}

@media screen and (max-width:959px) {
  .uk-navbar-right {
    display: none;
  }
  /*.uk-navbar-container {
    display: none;
  }*/
}

/*---------- ハンバーガーメニュー ----------*/
.nav_btn {
  display: none;
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 1100;
  background: var(--color-white);
  border: none;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 5px;
  padding: 0;
}

.nav_btn span{
  display: inline-block;
  transition: all .5s;
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  background: var(--color-gray);
  width: 45%;
}

.nav_btn span:nth-of-type(1) {
  top:15px; 
}

.nav_btn span:nth-of-type(2) {
  top:23px;
}

.nav_btn span:nth-of-type(3) {
  top:31px;
}

.nav_btn.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}

.nav_btn.active span:nth-of-type(2) {
  opacity: 0;
}

.nav_btn.active span:nth-of-type(3){
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}

@media screen and (max-width:959px) {
  .nav_btn {
    display: block;
  }
}

/*---------- sp nav ----------*/
.header_nav_sp {
  display: none;
  box-sizing: border-box;
  background: var(--color-gray);
  color: var(--color-white);
  width: 100%;
  height: 100%;
  padding: 5vw;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
}
.header_nav_sp.active {
  display: block;
  z-index: 1000;
}
.header_nav_sp_inner {
  box-sizing: border-box;
  height: 100%;
  overflow: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.header_nav_sp_inner::-webkit-scrollbar{
  display: none;
}
.header_nav_sp_logo {
  margin-bottom: 10vw;
  width: 65%;
}
.header_nav_sp_logo a:hover {
  opacity: 0.6;
}
.header_nav_sp li {
  font-weight: bold;
  padding: 2vw;
}
.header_nav_sp li a {
  color: var(--color-white);
  display: block;
  font-size: 22px;
}
.header_nav_sp li a:hover {
  color: var(--color-yellow);
}
.header_nav_sp_list_child {
  padding: 1vw !important;
}
.header_nav_sp_list_child a {
  padding-left: 2.4em;
}
.header_nav_sp_list_child a::before {
  content: "\f068";
  font-family: var(--font-awesome);
  display: inline-block;
  margin-left: -1.4em;
  padding-right: 0.4em;
}

@media screen and (min-width:960px) {
  .header_nav_sp.active {
    display: none;
  }
}



/*===============================
 topページ
===============================*/
/*---------- メインビジュアル ----------*/
/* メインビジュアル */
.mainvisual {
  position: relative;
}

.mainvisual::after {
  content: "";
  background: rgba(0,0,0,0.3);
  display: block;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 50;
}

.mainvisual_logo {
  color: var(--color-white);
  font-weight: 800;
  font-size: 60px;
  line-height: 1.2;
  text-align: right;
  width: 100%;
  position: absolute;
  bottom: 50px;
  left: 0;
  z-index: 100;
}

.mainvisual_logo span {
  font-size: 51px;
  display: inline-block;
  margin-right: 0.7em;
}

.mainvisual img {
  width: 100%;
}

.mainvisual_pc {
  display: block;
}

.mainvisual_sp {
  display: none;
}

.uk-slideshow-nav {
  margin: 0;
  width: 100%;
  position: absolute;
  bottom: 20px;
  left: 0;
  z-index: 100;
}

@media screen and (max-width:959px) {
  .mainvisual_pc {
    display: none;
  }
  .mainvisual_sp {
    display: block;
  }
}

@media screen and (max-width:740px) {
  .mainvisual_logo {
    font-size: 8vw;
  }
  .mainvisual_logo span {
    font-size: 6.9vw;
  }
}

/* スライドショーナビ */
.uk-dotnav li a {
  border: 2px solid var(--color-white) !important;
}

.uk-dotnav > .uk-active a {
  background: var(--color-yellow) !important;
  border: 2px solid var(--color-yellow) !important;
}


/*---------- 重機一覧 ----------*/


/*---------- ケイエム重機について ----------*/
.top_company figure {
  margin: 0;
}

.top_company > div[uk-grid] > div {
    position: relative;
}

.top_company > div[uk-grid]:nth-of-type(1) > div:nth-of-type(1) {
  clip-path: polygon(0 0, 100% 0%, 80% 100%, 0% 100%);
  z-index: 0;
}

.top_company > div[uk-grid]:nth-of-type(2) > div:nth-of-type(1) {
  clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 0;
}

.top_company > div[uk-grid] > div:nth-of-type(2) {
  z-index: 2;
}

@media screen and (max-width:959px) {
  .top_company > div[uk-grid] > div:nth-of-type(1) {
      clip-path: none !important;
  }
}


/*---------- お知らせ ----------*/




/*===============================
 下層ページ共通
===============================*/
/*---------- 見出し ----------*/
.title {
  text-align: center;
  padding: 80px 0 30px;
}

.title h1 {
  color: var(--color-gray);
  font-size: 50px;
  font-family: var(--font-gothic);
  font-weight: 700;
  line-height: 1.3;
  position: relative;
  z-index: 2;
}

.title h1::after {
  content: "";
  background: var(--color-yellow);
  border-radius: 100vw;
  display: block;
  height: 8px;
  width: 200px;
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
}

@media screen and (max-width:639px) {
  .title h1 {
    font-size: 8vw;
  }
}

/*---------- パンくずリスト ----------*/
.uk-breadcrumb {
  margin: 15px 0 30px;
}

/*---------- キャッチコピー ----------*/
.catch {
  font-size: 24px;
}

@media screen and (max-width:639px) {
  .catch {
    font-size: 20px;
  }
}

/*---------- ページ内リンクナビ ----------*/
.page_link a {
  border: 2px solid var(--color-blue);
  color: var(--color-blue);
  font-weight: bold;
  display: block;
  padding: 5px 15px;
}

.page_link a::after {
  content: "\f107";
  font-family: var(--font-awesome);
  padding-left: 0.5em;
}

.page_link a:hover {
  background: var(--color-blue);
  color: var(--color-white);
}

/*---------- 2カラム表示　メインコンテンツ ----------
.contents_main {
  margin-bottom: 40px;
}*/

/*---------- 2カラム表示　サイドバー ----------
.contents_side {
  margin-bottom: 30px;
}

.contents_side h3 {
  background: var(--color-rightblue);
  font-size: 20px;
  padding: 10px;
}

.contents_side_menu li {
  border-bottom: 1px dotted var(--color-rightgray);
}

.contents_side_menu li a {
  color: var(--color-blue);
  display: block;
}

.contents_side_menu li a span {
  display: block;
  font-size: 80%;
}*/



/*===============================
 お知らせ一覧
===============================*/
/*---------- 見出し ----------*/

/*---------- お知らせカテゴリーリンク ----------
.news_link a {
  background: var(--color-white);
  border: 2px solid var(--color-pink);
  color: var(--color-pink);
  font-weight: bold;
  display: block;
  padding: 5px 30px;
  transition: all .5s;
}

.news_link a.active {
  background: var(--color-pink);
  color: var(--color-white);
  font-weight: bold;
  display: block;
  padding: 5px 30px;
}

.news_link a:hover {
  opacity: 0.7;
}

.news_link a.notice {
  border: 2px solid var(--color-blue);
  color: var(--color-blue);
}

.news_link a.notice.active {
  background: var(--color-blue);
  color: var(--color-white);
}

.news_link a.gain {
  border: 2px solid var(--color-yellow);
  color: var(--color-yellow);
}

.news_link a.gain.active {
  background: var(--color-yellow);
  color: var(--color-white);
}

@media screen and (max-width:639px) {
  .news_link a {
    padding: 1vw 5vw;
  }
}*/



/*===============================
 重機一覧
===============================*/
/*---------- 重機一覧（トップページ・おすすめ一覧含む） ----------*/
.machinery_list a {
  background: var(--color-white);
  box-shadow: 0px 0px 5px 5px rgba(0,0,0,0.02);
  color: var(--color-gray);
  display: block;
  padding: 10px;
  transition: all .5s;
}

.machinery_list a:hover {
  box-shadow: 0px 0px 5px 5px rgba(0,0,0,0.06);
}

.machinery_list div.is-recommend a,
.machinery_list div.is-negotiating a,
.machinery_list div.is-soldout figure {
  position: relative;
}

.machinery_list div.is-recommend a::after,
.machinery_list div.is-negotiating a::after {
  display: inline-block;
  font-weight: 700;
  padding: 5px 20px;
  position: absolute;
  top: 0;
  left: 0;
}

.machinery_list div.is-recommend a::after {
  content: "おすすめ";
  color: var(--color-gray);
  background: var(--color-yellow);
}

.machinery_list div.is-negotiating a::after {
  content: "商談中";
  color: var(--color-white);
  background: var(--color-blue);
}

.machinery_list div.is-soldout figure::after {
  content: "SOLD OUT";
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.6);
  color: var(--color-white);
  font-size: 1.6rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  position: absolute;
  inset: 0;
}

.machinery_list a:hover img {
  transform: scale(1.1);
}

.machinery_list a:hover h3 {
  color: var(--color-yellow);
}

.machinery_list figure {
  overflow: hidden;
  margin: 0;
}

.machinery_list figure img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: all .5s;
}

.machinery_list h3 {
  font-size: 1.25rem;
  margin: 0.5rem 0;
  transition: all .5s;
}

.machinery_list li {
  font-size: 0.8rem;
  line-height: 1.4;
}

.machinery_list p {
  color: var(--color-red);
  font-size: 1.55rem;  
  font-weight: 700;
  line-height: 1;
  margin: 0.5rem 0 0;
  transition: all .5s;
}

.machinery_list p span {
  font-size: 0.8rem;
}

@media screen and (max-width:959px) {
  .machinery_list a.is-recommend::after,
  .machinery_list a.is-negotiating::after {
    font-size: 2vw;
  }
  .machinery_list h3 {
    font-size: 2.5vw;
  }
  .machinery_list p {
    font-size: 3.5vw;  
  }
  .machinery_list p span {
    font-size: 1.5vw;
  }
}

@media screen and (max-width:479px) {
  .machinery_list a.is-recommend::after,
  .machinery_list a.is-negotiating::after {
    font-size: 3vw;
  }
  .machinery_list a.is-soldout figure::after {
    font-size: 5vw;
  }
  .machinery_list a {
    padding: 1vw;
  }
  .machinery_list h3 {
    font-size: 3.9vw;
  }
  .machinery_list p {
    font-size: 5vw;  
  }
  .machinery_list p span {
    font-size: 3vw;
  }
}



/*===============================
 重機詳細
===============================*/
/*---------- 見出し ----------*/
.machinery_detail_status {
  margin: 0 0 0.5em;
}

.machinery_detail_status span {
  font-weight: 700;
  display: block;
  padding: 5px 20px;
  text-align: center;
}

.machinery_detail_status_recommend { /* おすすめ */
  color: var(--color-gray);
  background: var(--color-yellow);
}

.machinery_detail_status_negotiating { /* 商談中 */
  color: var(--color-white);
  background: var(--color-blue);
}

.machinery_detail_status_soldout { /* SOLD OUT */
  color: var(--color-white);
  background: var(--color-gray);
}

.machinery_detail h2 {
  background: var(--color-rightbeige);
  padding: 10px;
  margin-top: 0;
}

.machinery_detail h2 span {
  background: var(--color-white);
  font-size: 1.5rem;
  display: inline-block;
  padding: 3px 15px;
  margin: 0 10px 0 0;
  position: relative;
  top: -3px;
}

/*---------- 画像ギャラリーをスライド表示　----------*/
/* WordPressギャラリー無効化 */
.wp-block-gallery {
  display: block !important;
}

/* Swiper */
.swiper {
  width: 100%;
  overflow: hidden;
}

.swiper-wrapper {
  display: flex !important;
}

.swiper-slide {
  flex-shrink: 0 !important;
}

[class^="main-slider-"] .swiper-slide {
  width: 100% !important;
}

.swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* サムネ */
.swiper-thumbs {
  margin-top: 15px !important;
}

.thumb-slider-0 .swiper-slide,
[class^="thumb-slider-"] .swiper-slide {
  opacity: 0.7;
  cursor: pointer;
}

[class^="thumb-slider-"] .swiper-slide {
  width: auto !important;
}

/*[class^="thumb-slider-"] */.swiper-slide-thumb-active {
  opacity: 1 !important;
  border: 2px solid var(--color-yellow);
}

/* ナビボタン */
.swiper-button-disabled {
  opacity: 0 !important;
}

.swiper-button-next,
.swiper-button-prev {
  background: #fff;
}

.swiper-button-next {
  right: 0 !important;
}

.swiper-button-prev {
  left: 0 !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--color-gray);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  color: var(--color-gray);
  display: block;
  font-family: var(--font-awesome);
  font-size: 26px;
  position: relative;
  left: -15px;
}

.swiper-button-next::after {
  content: "\f054";
}

.swiper-button-prev::after {
  content: "\f053";
}

.swiper-button-next:hover::after,
.swiper-button-prev:hover::after {
  color: var(--color-yellow);
}

.swiper-button-next svg,
.swiper-button-prev svg {
  opacity: 0;
}

/*---------- 価格 ----------*/
.machinery_detail_price h3 span {
  font-size: 1.25rem;
}

.machinery_detail_price .price,
.machinery_detail_price .soldout {
  border-bottom: 1px dashed var(--color-gray);
  line-height: 1.5;
}

.machinery_detail_price .price {
  color: var(--color-red);
}

.machinery_detail_price .soldout {
  text-align: center;
}

.machinery_detail_price .price span,
.machinery_detail_price .soldout span {
  font-size: 2.75rem;  
  font-weight: 700;
}

@media screen and (max-width:479px) {
  .machinery_detail_price .price span {
    font-size: 2.5rem;
  }
}

/*---------- 重機詳細テーブル ----------*/
.table_machinery {
  border: 1px solid var(--color-gray);
}

.table_machinery th,
.table_machinery td {
  display: block;
  width: 100%;
}

.table_machinery th {
  border: none !important;
  background: var(--color-rightbeige);
  font-weight: 400;
  font-size: 0.8rem;
  padding: 3px 12px;
}

.table_machinery td {
  border-bottom: 1px solid var(--color-gray) !important;
  font-weight: 700;
  padding: 5px 12px;
}

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

/*---------- 重機専用フォーム ----------*/
.machinery_detail_form h3 {
  background: var(--color-gray);
  color: var(--color-white);
  margin: 0;
  padding: 15px;
}



/*===============================
 業務案内
===============================*/
#service1 .service_image,
#service3 .service_image {
  clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
}

#service2 .service_image {
  clip-path: polygon(0 0, 100% 0%, 80% 100%, 0% 100%);
}

.service_image {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service_image figure {
  flex: 1;
  margin: 0;
}

.service_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width:639px) {
  #service1 .service_image,
  #service2 .service_image,
  #service3 .service_image {
      clip-path: none;
  }
}



/*===============================
 ご購入の流れ
===============================*/
.flow_item {
  position: relative;
}

.flow_item::after {
  content: "\f103";
  font-family: var(--font-awesome);
  font-size: 40px;
  color: var(--color-yellow);
  position: absolute;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
}

.flow_item:last-child::after {
  content: none;
}

.flow_item + .flow_item {
  margin-top: 100px;
}

.flow_item h2::before {
  color: var(--color-white);
  background: var(--color-gray);
  display: inline-block;
  font-size: 1.5rem;
  padding: 3px 10px;
  margin-right: 10px;
  border-radius: 5px;
}

.flow_list .flow_item:nth-of-type(1) h2::before {
  content: "01";
}

.flow_list .flow_item:nth-of-type(2) h2::before {
  content: "02";
}

.flow_list .flow_item:nth-of-type(3) h2::before {
  content: "03";
}

.flow_list .flow_item:nth-of-type(4) h2::before {
  content: "04";
}

.flow_list .flow_item:nth-of-type(5) h2::before {
  content: "05";
}

@media screen and (max-width:639px) {
  .flow_item h2 {
    margin-top: 1.5em;
    position: relative;
  }
  .flow_item h2::before {
    position: absolute;
    top: -1.7em;
    left: 0;
  }
}



/*===============================
 会社概要
===============================*/
/*---------- 代表挨拶 ----------*/
#message figure {
  clip-path: polygon(0 0, 100% 0%, 80% 100%, 0% 100%);
  width: 100%;
  height: 100%;
}

#message img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width:959px) {
  #message figure {
    clip-path: none;
  }
}

/*---------- 画像スライダー ----------*/
.swiper-loop .swiper-wrapper {
  transition-timing-function: linear;
}

.swiper-loop .swiper-slide {
  width: auto;
}

.swiper-loop img {
  width: auto;
  display: block;
}



/*===============================
 プライバシーポリシー
===============================*/
.privacy ul li {
  margin-left: 1em;
}

.privacy ul li:nth-of-type(1)::before {
  content: "(1)";
  margin-left: -1em;
}

.privacy ul li:nth-of-type(2)::before {
  content: "(2)";
  margin-left: -1em;
}

.privacy ul li:nth-of-type(3)::before {
  content: "(3)";
  margin-left: -1em;
}

.privacy ul li:nth-of-type(4)::before {
  content: "(4)";
  margin-left: -1em;
}

.privacy ul li:nth-of-type(5)::before {
  content: "(5)";
  margin-left: -1em;
}

.privacy ul li:nth-of-type(6)::before {
  content: "(6)";
  margin-left: -1em;
}

.privacy ul li:nth-of-type(7)::before {
  content: "(7)";
  margin-left: -1em;
}

.privacy ul li:nth-of-type(8)::before {
  content: "(8)";
  margin-left: -1em;
}

.privacy ul li:nth-of-type(9)::before {
  content: "(9)";
  margin-left: -1em;
}

.privacy ul li:nth-of-type(10)::before {
  content: "(10)";
  margin-left: -1em;
}



/*===============================
 お問い合わせ
===============================*/
.table_inquiry th {
  padding-right: 50px;
  position: relative;
}

.table_inquiry th p {
  margin: 0;
}

.table_inquiry th span {
  position: absolute;
  top: 18px;
  right: 0;
}

/*---------- 入力フォーム ----------*/
@media screen and (max-width:850px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea {
    box-sizing: border-box;
    max-width: 100%;
  }
}



/*===============================
 footer
===============================*/
footer {
  background: var(--color-rightbeige);
}

/*---------- .footer_contact ----------*/
.footer_contact a {
  background: var(--color-white);
  color: var(--color-gray);
  display: block;
  line-height: 1.4;
  padding: 15px 0;
}

.footer_contact a:hover {
  color: var(--color-yellow);
}

.footer_contact_tel span {
  font-size: 2rem;
  font-weight: 700;
}

.footer_contact_mail span {
  font-size: 2rem;
  font-weight: 700;
}

/*---------- .footer_main ----------*/
.footer_main {
  background: var(--color-gray);
  color: var(--color-white);
}

.footer_main a {
  color: var(--color-white);
}

.footer_main a:hover {
  color: var(--color-yellow);
}

.footer_info_logo img {
  width: 330px;
}

.footer_info_tel {
  line-height: 1.4;
  font-size: 0.9rem;
}

.footer_info_tel a {
  color: var(--color-yellow);
  font-size: 2.5rem;
  font-weight: 700;
}

.footer_info_tel a:hover {
  opacity: .7;
}

.footer_info_biglemon a {
  background: #fff;
  display: inline-block;
  padding: 5px;
}

.footer_info_biglemon a:hover {
  opacity: .7;
}

.footer_info_biglemon img {
  height: 60px;
}

@media screen and (max-width:479px) {
  .footer_info_tel a {
    font-size: 9vw;
  }
}

/*---------- nav ----------*/
footer nav ul + ul {
  margin: 0 !important;
}

/*---------- copyright ----------*/
.copyright {
  padding: 7px 0;
  text-align: center;
  margin: 0;
}