@charset "UTF-8";
/*
Theme Name:  YKテクノサービス株式会社
Description: YKテクノサービス株式会社専用のWordPressテーマです
*/

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Oswald&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap");

:root {
  --text_color: #222;
  --main-color: #1f3362;
  --sub-color: #045c9c;
  --btn-color: #1f3362;
  --header-color: #fff;
  --footer-color: #1f3362;
  --link-color: #222;

  /* headerの高さ指定場所 */
  --header-pc__height: 70px;
  --header-sp__height: 60px;
  scroll-padding-top: var(--header-pc__height);

  /* menuの高さ指定場所 */
  --nav-pc__height: 80px;

  /* box-shadow */
  --shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.fixed {
  position: fixed;
  width: 100%;
  height: 100%;
}

html {
  font-size: 62.5%; /* 10px */
}

body {
  color: var(--text_color);
  font-size: 1.6rem; /* 16px */
  line-height: 1.8;
  font-family: "Noto Sans JP", sans-serif !important;
  letter-spacing: 0.05em;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-text-size-adjust: 100%; /* クロームバグ */
  overflow-x: hidden;
  background-color: #e2e2e2;
}

body.menu-open {
  overflow: hidden;
}

p,
div {
  max-height: 100%; /* クロームバグ */
}

ul,
ol {
  padding-left: 3rem;
}

main {
  flex: 1;
}

.main-bottom {
  margin-bottom: 100px;
}

/* リンク */
a {
  text-decoration: none;
}

a img:hover {
  /* opacity: 0.8; */
  transition: 0.3s all ease;
}

/* スクロールアイコン */
.scroll_down {
  position: absolute;
  bottom: 0px;
  left: 50%;
}

.scroll_down a {
  position: absolute;
  left: 10px;
  bottom: 60px;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.2em;
  writing-mode: vertical-lr;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll_down:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: -4px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
  animation: circlemove 1.6s ease-in-out infinite, cirlemovehide 1.6s ease-out infinite;
}

@keyframes circlemove {
  0% {
    bottom: 130px;
  }
  100% {
    bottom: 0px;
  }
}

@keyframes cirlemovehide {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  80% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
  }
}

.scroll_down:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2px;
  height: 130px;
  background: #fff;
}

@media screen and (max-width: 991px) {
  .scroll_down {
    display: none;
  }
}

/*=======================================
テキスト
=======================================*/
/* フォント */
.notoserif {
  font-family: "Noto Serif JP";
}

.zenmaru {
  font-family: "Zen Maru Gothic";
}

.oswald {
  font-family: "Oswald";
}

.montserrat {
  font-family: "Montserrat";
}

/* 文字・背景カラー */
.text-main {
  color: var(--main-color) !important;
}

.text-sub {
  color: var(--sub-color) !important;
}

.bg-main {
  background-color: var(--main-color) !important;
}

.bg-sub {
  background-color: var(--sub-color) !important;
}

.text-white {
  color: #fff;
}

/* 文字制御 */
.nowrap {
  display: inline-block;
  white-space: nowrap;
}

.indent {
  text-indent: -1em;
  padding-left: 1em;
}
カテゴリー名が変更されました
/* リスト非表示 */
.list-none {
  list-style: none;
  padding: 0;
}

/*=======================================
オプション
=======================================*/
/* スマホ時のみtelクリック */
@media screen and (min-width: 991px) {
  a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }
}

/* 角丸 */
.b-rounded {
  border-radius: 15px;
}

/* 円 */
.b-circle {
  border-radius: 100%;
}

/* スクロール吸着 */
.sticky-box {
  position: sticky;
  top: var(--header-pc__height);
}

/* テキストアニメーション1 */
.text-animation1 {
  display: inline-block;
  overflow: hidden;
  animation-name: text-animation;
  animation-duration: 2s;
  animation-fill-mode: both;
}

@keyframes text-animation {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

.text-animation1__inner {
  display: inline-block;
  overflow: hidden;
  animation-name: text-animation__inner;
  animation-duration: 2s;
  animation-fill-mode: both;
}

@keyframes text-animation__inner {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

/* テキストアニメーション2 */
.text-animation2 {
  display: inline-block;
  position: relative;
  animation: clip-text 0.5s ease-in-out forwards;
}

.text-animation2::before {
  content: "";
  display: block;
  background-color: #000;
  position: absolute;
  inset: 0;
  animation: clip-cover 0.5s ease-in-out forwards;
  animation-delay: 0.5s;
}

@keyframes clip-text {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes clip-cover {
  from {
    clip-path: inset(0 0 0 0);
  }
  to {
    clip-path: inset(0 0 0 100%);
  }
}

/* フェードインエフェクト */
/* 共通 */
.fadein {
  opacity: 0;
  transition: all 1s;
}

/* アニメーション種類 */
.fadein-up {
  transform: translateY(100px);
}
.fadein-left {
  transform: translateX(-100px);
}
.fadein-right {
  transform: translateX(100px);
}
.fadein-down {
  transform: translateY(-100px);
}

/* 表示時にスクロールイン */
.fadein.scrollin {
  opacity: 1;
  transform: translate(0, 0);
}

.no-transition {
  transition: none !important;
}

/*=======================================
ローディング
=======================================*/
/* ローディング画面 */
#loading {
  width: 100vw;
  height: 100vh;
  transition: all 1s;
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loaded {
  opacity: 0;
  visibility: hidden;
}

.spinner {
  width: 60px;
  height: 60px;
  background-color: var(--main-color);
  border-radius: 100%;
  animation: sk-scaleout 1s infinite ease-in-out;
}

/* ローディングアニメーション */
@keyframes sk-scaleout {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

/*=======================================
見出し
=======================================*/
.h1 {
  font-size: 3.6rem;
  color: var(--main-color);
  margin: 0;
  padding: 0;
}

.h2 {
  font-size: 2.8rem;
  font-size: clamp(2.4rem, 2.9vw, 4rem);
  font-weight: 700;
  color: var(--main-color);
}

.h2-white {
  font-size: 2.8rem;
  font-size: clamp(2.4rem, 2.9vw, 4rem);
  font-weight: 700;
  color: #fff;
}

.h2-sub {
  font-size: clamp(1.6rem, 2.9vw, 2rem);
  font-family: "Outfit";
  color: #a1a1a1;
}
/* .h2:before {
  content: "";
  position: absolute;
  bottom: -8px;
  left: calc(50% - 50px);
  width: 100px;
  height: 3px;
  background: var(--main-color);
} */

.h3 {
  font-size: clamp(2rem, 2.9vw, 2.4rem);
  position: relative;
  padding: 1rem 0rem;
  border-bottom: 4px solid #ccc;
  margin-bottom: 10px;
}

.h3:before {
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 20%;
  height: 4px;
  content: "";
  background: var(--main-color);
}

.h4 {
  font-size: 2rem;
  font-size: clamp(1.8rem, 2.9vw, 2rem);
  padding: 1rem;
  border-left: solid 4px var(--main-color);
  background-color: #ccc;
  margin-bottom: 10px;
}

/*=======================================
  header-pc
=======================================*/
header {
  width: 100%;
  z-index: 100;
  top: 0;
  background-color: var(--header-color);
}

header .container-fluid,
header .container {
  padding: 0;
}

.header-pc {
  width: 100%;
  height: var(--header-pc__height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-pc h1 {
  flex: 1;
  font-size: 0%;
  margin: 0 25px;
}

.header-pc h1 img {
  height: 50px;
}

/* オプション */
.header-pc__access {
  color: #fff;
  font-size: 1.6rem;
  line-height: 1.4em;
  font-family: "Outfit";
  background-color: var(--sub-color);
  padding: 0 1em;
  height: var(--header-pc__height);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.header-pc__access .title {
  font-size: 1.4rem;
  border: solid 1px #fff;
  line-height: 1.5em;
  display: inline-block;
  padding: 0 10px;
  width: fit-content;
  margin-bottom: 5px;
}

.header-pc__address {
  color: #fff;
  font-size: 1.4rem;
  line-height: 2em;
  font-family: "Oswald";
  background-color: var(--main-color);
  padding: 0 1em;
  height: var(--header-pc__height);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.header-pc__address .icon {
  font-size: 2rem;
  margin-right: 8px;
}

.header-pc__address .tel {
  font-size: 2.4rem;
  font-weight: 500;
  display: flex;
  align-items: center;
}

/* スクロール時ヘッダーデザイン変更 */
/* #header.HeightMin {
  position: fixed;
  z-index: 999;
  height: var(--header-pc__height);
  background-color: rgba(255, 255, 255, 1);
  animation: DownAnime 0.5s forwards;
}

@keyframes DownAnime {
  from {
    opacity: 0;
    transform: translateY(-170px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
} */

/*=======================================
  nav-pc
=======================================*/
.nav-bg {
  width: 100%;
  background-color: rgba(242, 242, 242, 0.8);
}

.nav-lists {
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list {
  flex-grow: 1;
  height: var(--nav-pc__height);
  position: relative;
}

.nav-list .icon {
  font-size: 20px;
  margin-bottom: 4px;
}

.nav-list a {
  font-size: 1.4rem;
  color: var(--main-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  transition: all 0.3s;
  padding: 0 1em;
}

/* ディフォルトホバー */
/* .nav-list a:hover {
  color: #fff;
  background: var(--main-color);
} */

/* ホバーアクション */
.nav-list a::after {
  background: var(--btn-color);
  content: "";
  width: 100%;
  height: 3px;
  position: absolute;
  left: 50;
  bottom: 0px;
  margin: auto;
  transform-origin: center top;
  transform: scale(0, 1);
  transition: transform 0.3s;
}

.nav-list a:hover::after {
  transform-origin: center top;
  transform: scale(1, 1);
}

/* メニュー間ライン */
.nav-list:not(:first-child)::before {
  content: "";
  display: block;
  height: 1em;
  border-left: 1px solid #222;
  opacity: 0.3;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
}

/* 表示中のページをマウスオーバー表示 */
.current a {
  color: #fff;
  /* background: var(--main-color); */
  background: rgba(0, 0, 0, 0.8);
}

/*=======================================
  ドロップダウンメニュー 
=======================================*/
/* ドロップダウンメニューにつける矢印 */
.nav-list .arrow::before {
  content: "";
  font-size: 12px;
  font-family: fontAwesome;
  content: "\f078";
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
}

.dropdown-lists {
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s;
  position: absolute;
  top: var(--header-pc__height);
  left: 0;
  list-style: none;
  padding: 10px 0;
  margin-top: 5px; /* メニューとの間 */
  white-space: nowrap;
  z-index: 2;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: var(--shadow);
}

.nav-list:hover .dropdown-lists {
  visibility: visible;
  opacity: 1;
}

.dropdown-lists__list a {
  color: var(--link-color);
  font-weight: 700;
  display: flex;
  justify-content: left;
  text-decoration: none;
  padding: 4px 20px;
}

.dropdown-lists__list a::before {
  content: "-";
  font-size: 20px;
  margin-right: 10px;
  font-weight: 700;
  color: var(--main-color);
}

.dropdown-lists__list a:hover {
  color: var(--main-color);
  background: none;
}

.dropdown-lists__list a:hover::after {
  display: none;
  transform: scale(0, 0);
}

@media screen and (max-width: 991px) {
  .header-pc,
  .nav-pc {
    display: none;
  }
}

/*=======================================
  メガメニュー
=======================================*/
/* メガメニュー使用時追加 */
.nav-list__megamenu {
  position: static;
}

.megamenu {
  width: 100%;
  position: absolute;
  left: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.megamenu-list {
  padding: 20px 0;
  background-color: #f5f7f9;
}

.megamenu-button {
  display: block;
  color: var(--link-color) !important;
  background-color: #fff;
  border-radius: 5px;
  padding: 15px !important;
  display: flex;
  justify-content: left !important;
  position: relative;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}

.megamenu-button::after {
  content: "";
  font-size: 16px;
  color: #154c9e;
  font-family: fontAwesome;
  content: "\f054";
  position: absolute;
  right: 15px;
}

.megamenu-button:hover {
  background: var(--btn-color) !important;
}

.megamenu-button:hover::after {
  color: #ffffff !important;
}

/* メニューをhoverした時のスタイル */
.nav-list:hover .megamenu {
  opacity: 1;
  visibility: visible;
}

/*=======================================
  header-sp
=======================================*/
.header-sp,
.nav-sp {
  display: none;
}

@media screen and (max-width: 991px) {
  .header-sp {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-sp__height);
    background-color: #fff;
    z-index: 100;
    border-bottom: 1px solid #ccc;
  }

  .header-sp .logo {
    flex: 1;
    font-size: 0;
    line-height: 0;
  }

  .header-sp .logo img {
    height: 28px;
    padding-left: 10px;
  }

  .header-sp .toggle {
    font-size: 1.8rem;
    line-height: 60px;
    text-align: center;
    width: 60px;
    display: block;
    cursor: pointer;
    color: var(--sub-color);
  }

  /* 追加オプション */
  /* .header-sp .english {
    font-size: 1.8rem;
    background-color: #002c82;
  }

  .header-sp .english a {
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    width: 60px;
    text-decoration: none;
  }

  .header-sp .english a:hover {
    color: #fff;
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.3);
  } */

  .header-sp .tel {
    font-size: 1.8rem;
    line-height: 60px;
    text-align: center;
    width: 60px;
    display: block;
    border-right: 1px solid #ccc;
    border-left: 1px solid #ccc;
  }

  .header-sp .tel a {
    color: var(--sub-color);
  }
}

/*=======================================
  nav-sp
=======================================*/
@media screen and (max-width: 991px) {
  .nav-sp {
    display: block;
    position: fixed;
    opacity: 0; /*最背面*/
    z-index: -1; /*はじめは透過0*/
    top: 60px;
    width: 100%;
    height: 100vh;
    background: #fff;
    padding-bottom: 150px;
    overflow: auto;
    transition: all 0.3s;
    -webkit-overflow-scrolling: touch;
    /* transform: translateX(100%); */
  }

  .nav-sp.active {
    /* transform: translateX(0); */
    opacity: 1; /*アクティブで表示*/
    z-index: 100;
  }

  .main-menu {
    font-size: 1.6rem;
    list-style: none;
    padding: 0;
  }

  .main-menu .icon {
    width: 20px;
    color: #045c9c;
    text-align: center;
  }

  .main-menu li {
    position: relative;
  }

  .main-menu li a {
    display: block;
    color: var(--link-color);
    text-decoration: none;
    padding: 15px;
  }

  .main-menu li a:hover {
    color: #fff;
    background: var(--main-color);
  }

  /* 2つめからライン追加 */
  .main-menu li:nth-of-type(n + 2) {
    border-top: 1px solid #ccc;
  }

  .main-menu li:last-child {
    border-bottom: 1px solid #ccc;
  }

  /* .main-menu li a::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f054";
    margin-right: 10px;
  } */

  /* ドロップダウンメニュー */
  .dropdown-sp {
    position: relative;
  }

  .dropdown-sp::after {
    position: absolute;
    top: 50%;
    right: 25px;
    width: 10px;
    height: 10px;
    margin: -8px 0 0;
    content: "";
    border-top: solid 1px #222;
    border-right: solid 1px #222;
    transition: all 0.3s;
    transform: rotate(-225deg);
  }

  .main-menu li.active .dropdown-sp::after {
    margin: -5px 0 0;
    transform: rotate(-45deg);
  }

  .dropdown-splists {
    font-size: 1.4rem;
    display: none;
    padding: 0;
    border-top: 1px solid #ccc;
    background-color: #f8f8f8;
  }

  .dropdown-splists li:nth-of-type(n + 2) {
    border-top: none;
  }

  .dropdown-splists li:last-child {
    border-bottom: none;
  }

  .dropdown-splists li a {
    padding: 6px 20px;
  }

  .dropdown-splists a::before {
    content: "-";
    font-size: 20px;
    margin-right: 10px;
    font-weight: 700;
    color: var(--main-color);
  }

  /* .dropdown-splists li a::after {
    position: absolute;
    top: 50%;
    right: 25px;
    width: 10px;
    height: 10px;
    margin: -8px 0 0;
    content: "";
    border-top: solid 1px #222;
    border-right: solid 1px #222;
    transform: rotate(45deg);
  } */

  /* 追加オプション */
  .nav-sp .m-address {
    font-size: 1.4rem;
    text-align: center;
    padding: 10px;
  }

  .nav-sp .m-tel {
    font-family: "Oswald";
    font-size: 2.4rem;
  }

  .nav-sp .m-icon {
    color: var(--main-color);
    font-size: 2.2rem;
    margin-right: 8px;
  }
}

/*=======================================
swiper - トップスライダー
=======================================*/
.top-swiper {
  width: 100%;
  position: relative;
}

.top-swiper img {
  object-fit: cover;
  object-position: 50% 50%;
  width: 100%;
  /* height: calc(50vh - var(--header-pc__height)); */
  height: 650px;
}

@media screen and (max-width: 991px) {
  .top-swiper img {
    height: calc(80svh - var(--header-sp__height));
    /* スマホ時100vhの際はsvhを使用 */
  }
}

/*=======================================
swiper - ズームスライダー
=======================================*/
.zoom-swiper {
  width: 100%;
  position: relative;
}

.zoom-swiper img {
  object-fit: cover;
  object-position: 50% 50%;
  /* object-position: right center; */
  width: 100%;
  height: calc(100svh - var(--header-pc__height));
}

@media screen and (max-width: 991px) {
  .zoom-swiper img {
    object-position: center;
    height: calc(100svh - var(--header-sp__height));
    /* スマホ時100vhの際はsvhを使用 */
  }
}

/* imgタグだと下に隙間ができるのでblockに。 */
.slide-img img {
  display: block;
}

.swiper-slide-active .slide-img,
.swiper-slide-duplicate-active .slide-img,
.swiper-slide-prev .slide-img {
  animation: zoomUp 10s linear 0s 1 normal both;
}

@keyframes zoomUp {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.15);
  }
}

/*=======================================
swiper - 要素スライダー
=======================================*/
.slider-swiper {
  padding: 15px;
}

/*=======================================
swiper - オプション全体
=======================================*/
.swiper-slide {
  height: auto;
}

.slide-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  z-index: 10;
}

.slide-caption__img {
  position: absolute;
  top: 50%;
  left: 30px;
  transform: translate(0%, -50%);
  z-index: 10;
}

.slide-caption__img img {
  width: 700px;
  height: auto;
}

@media screen and (max-width: 991px) {
  .slide-caption__img {
    position: relative;
    top: 50%;
    left: 0;
    transform: translate(0%, -50%);
    z-index: 10;
  }

  .slide-caption__img img {
    width: 80%;
    height: auto;
    margin: 0 auto;
  }
}

.swiper-pagination-bullet,
.swiper-pagination-bullet-active {
  background-color: #fff;
}

.swiper-button-prev,
.swiper-button-next {
  width: 50px;
  height: 50px;
  padding: 0px;
  margin: 0px;
  background-color: #fff;
  border-radius: 50%;
  transform: translateY(-30%);
  box-shadow: var(--shadow);
}

.swiper-button-prev::after,
.swiper-button-next::after {
  color: var(--btn-color);
  height: 16px;
  width: 16px;
  margin: 60px;
}

/* 前への矢印カスタマイズ */
.swiper-button-prev::after {
  font-size: 16px;
  font-family: fontAwesome;
  content: "\f053";
}

/* 次への矢印カスタマイズ */
.swiper-button-next::after {
  font-size: 16px;
  font-family: fontAwesome;
  content: "\f054";
}

/*=======================================
  footer
=======================================*/
/* アクセスマップ */
iframe {
  vertical-align: bottom;
}

footer {
  font-size: clamp(1.4rem, 2.9vw, 1.4rem);
  color: #fff;
  background-color: var(--footer-color);
  padding: 50px 0;
}

.footer-logo img {
  height: 42px;
}

.footer-text {
  /* border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3); */
  margin-bottom: 10px;
}

.footer-text__address {
  margin-bottom: 5px;
}

.footer-pc__address {
  color: #fff;
  font-size: 1.4rem;
  line-height: 2em;
  font-family: "Oswald";
  padding: 0;
}

.footer-pc__address .icon {
  font-size: 2.6rem;
  margin-right: 8px;
}

.footer-pc__address .tel {
  font-size: 3.4rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  margin: 10px 0;
}

.footer-text__copy {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 1.2rem;
  padding-top: 10px;
}

.footer-nav {
  font-size: 1.4rem;
  display: flex;
  justify-content: start;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin-right: 50px;
}

.footer-nav ul li a {
  color: #fff;
  position: relative;
  text-decoration: none;
}

.footer-nav ul li::before {
  content: "-";
  margin-right: 0.5em;
}

.footer-nav ul li a::after {
  position: absolute;
  bottom: 3px;
  left: 0;
  content: "";
  width: 100%;
  height: 1px;
  background: #fff;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform 0.3s;
}

.footer-nav ul li a:hover::after {
  transform: scale(1, 1);
}

.footer-right {
  display: flex;
  justify-content: right;
  align-items: center;
}

.footer-map {
  width: 500px;
  height: 300px;
}

.footer-company {
  margin-left: 20px;
  height: 300px;
  width: auto;
  object-fit: contain; /* または cover など */
}

@media screen and (max-width: 1199px) {
  .footer-nav {
    justify-content: start;
  }

  .footer-nav ul {
    font-size: 1.4rem;
    margin-left: 0px;
    margin-right: 30px;
  }

  .footer-right {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .footer-map {
    width: 100%;
    margin-bottom: 20px;
  }

  .footer-company {
    display: block;
    width: 100%;
    height: auto;
    margin-left: 0;
    object-fit: contain; /* optional */
  }
}

/* ページトップ */
#page-top {
  position: fixed;
  right: 10px;
  bottom: 10px;
  font-size: 18px;
  z-index: 2;
}

#page-top a {
  display: block;
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--btn-color);
  box-shadow: var(--shadow);
  color: #fff;
}

#page-top i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/*=======================================
トップページ
=======================================*/
section {
  margin-top: 80px;
}

@media screen and (max-width: 991px) {
  section {
    margin-top: 50px;
  }
}

/* サービス案内 */
.service-box {
  font-weight: bold;
  display: flex;
  background-color: #f5f5f5;
  border-radius: 20px;
  width: 100%;
}

.service-icon1 {
  border-radius: 20px;
  min-width: 80px;
  height: 80px;
  padding: 14px;
  box-shadow: var(--shadow);
  background-color: #045c9c;
}

.service-icon2 {
  border-radius: 20px;
  min-width: 80px;
  height: 80px;
  padding: 14px;
  box-shadow: var(--shadow);
  background-color: #0e86d4;
}

.service-icon3 {
  border-radius: 20px;
  min-width: 80px;
  height: 80px;
  padding: 14px;
  box-shadow: var(--shadow);
  background-color: #68bbe3;
}

.service-text {
  display: flex;
  align-items: center;
  padding: 0 1em;
}

/* サービス案内 - 写真 */
.service-ph-box {
  position: relative;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 4 / 3;
  margin: 0 auto;
}

.ph-left,
.ph-right {
  position: absolute;
  width: 60%; /* 基本は親要素の60% */
  height: auto;
}

/* 左の画像 */
.ph-left {
  top: 30%;
  left: 0;
  z-index: 1;
  border-bottom-left-radius: 30px;
}

/* 右の画像（左に重なる） */
.ph-right {
  top: 0;
  left: calc(40%); /* 左画像と重なるように調整 */
  z-index: 2;
  border-top-right-radius: 30px;
}

/* @media (max-width: 576px) {
  .image-left,
  .image-right {
    width: 70%;
  }

  .image-right {
    left: calc(30%);
  }
} */

@media screen and (max-width: 991px) {
  .service-ph-box {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    aspect-ratio: auto; /* 縦横比の固定を解除 */
    padding: 10px 0;
  }

  .ph-left,
  .ph-right {
    position: static;
    width: 45%;
    max-width: 100%;
    height: auto;
    margin: 0 5px;
    border-radius: 10px;
  }
}

/* サービスの流れ */
.flow-box {
  color: #fff;
  border-radius: 20px;
  background-image: linear-gradient(135deg, rgba(39, 57, 106, 1), rgba(7, 90, 153, 1));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  min-height: 160px;
  position: relative;
  overflow: hidden;
}

.flow-box img {
  width: 45px;
  height: auto;
  margin-bottom: 10px;
}

.flow-text {
  margin: 0;
  line-height: 1.2em;
}

.flow-box .ribbon {
  position: absolute;
  top: 58px; /* 調整が必要 */
  left: -48px; /* 調整が必要 */
  width: 150px;
  background: #cad2dd;
  color: var(--main-color);
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  padding: 0;
  transform: rotate(-45deg); /* 315deg = -45deg */
  transform-origin: top left;
  z-index: 2;
}

.flow-box .ribbon span {
  transform: rotate(45deg); /* 中のテキストを逆回転して水平にする */
  display: block;
}

/* 当社の強み */
.strange-bg {
  background-color: var(--main-color);
  padding: 70px 0;
}

.rounded-image {
  border-radius: 0 30px 0 30px; /* 上右・下左に角丸 */
  display: block;
}

.arrow-list {
  padding: 0;
}

.arrow-list li {
  list-style: none; /* ポチを消す */
  position: relative;
  padding-left: 30px; /* 矢印の分だけ余白を開ける */
}

.arrow-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em; /* テキストの縦位置に合わせて調整 */
  width: 20px;
  height: 20px;
  background: url("images/arrow.svg") no-repeat center center;
  background-size: contain;
}

/* 自動スライダー */
.marquee {
  overflow: hidden;
  width: 100%;
}

.marquee-track {
  display: flex;
  width: fit-content;
  animation: scroll-left var(--scroll-duration) linear infinite;
}

.marquee-content {
  display: flex;
}

.marquee-content img {
  height: 300px;
  margin-right: 20px;
  flex-shrink: 0;
}

@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-1 * var(--scroll-width)));
  }
}

/* スタッフ募集 */
.staff-box,
.staff-box2 {
  color: #fff;
  padding: 30px 20px;
  background-position: right;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
}

.staff-box {
  background-color: #045c9c;
  background-image: url(images/staff_ph01.jpg);
}

.staff-box2 {
  background-color: #0e86d4;
  background-image: url(images/staff_ph02.jpg);
}

/* 対応地域 */
.area-bg {
  background-color: #eee;
}

.area-box {
  width: 100%;
  height: 500px;
  padding: 30px 20px;
  background-image: url(images/area_img.jpg);
  background-repeat: no-repeat;
  background-position: center;
}

.area-box__img {
  display: none;
}

@media screen and (max-width: 991px) {
  .area-box {
    width: 100%;
    height: auto;
    padding: 30px 20px;
    background-image: unset;
  }

  .area-box__img {
    display: block;
  }
}

/*=======================================
ジャンボトロン&パンくずリスト
=======================================*/
.jumbotron {
  height: 300px;
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url("images/menu_image.jpg");
  background-size: cover;
  background-position: center center;
  display: flex;
  align-items: center;
}

.jumbotron__tit {
  font-size: clamp(2.4rem, 2.9vw, 4rem);
  text-shadow: 0px 0px 10px #222;
  font-weight: 700;
  color: #fff;
}

.jumbotron__subtit {
  font-size: clamp(1.4rem, 2.9vw, 2rem);
  font-family: "Outfit";
  color: #fff;
}

/* スマホ時ヘッダー分移動 */
@media screen and (max-width: 991px) {
  .jumbotron {
    height: 150px;
  }
}

/* パンくずリスト */
.breadcrumb a {
  color: #9f9f9f;
  transition: 0.5s;
}

.breadcrumb a:hover {
  color: var(--main-color);
}

/*=======================================
新着情報
=======================================*/
.info-box {
  margin: 0;
  padding: 0;
}

.info-list a {
  color: var(--link-color);
  display: block;
  transition: 0.5s;
  padding: 20px 10px;
  border-bottom: 1px solid #ccc;
}

.info-list a:hover {
  background-color: #f2f2f2;
}

.info-list__data {
  display: table-cell;
  white-space: nowrap;
  padding-right: 1em;
}

.info-list__data .day {
  color: var(--link-color);
  display: inline-block;
  width: 110px;
}

.info-list__data .tag {
  display: inline-block;
  font-size: 1.2rem;
  text-align: center;
  padding: 3px 1em;
  border-radius: 15px;
  background: #eaeaea;
}

.info-list__tit {
  display: table-cell;
}

@media screen and (max-width: 991px) {
  .info-list__data {
    display: block;
    margin-bottom: 5px;
  }
}

/* 投稿詳細エリア */
.info-detail__data {
  display: table-cell;
  white-space: nowrap;
  padding-right: 1em;
}

.info-detail__data .day {
  font-size: 1.2rem;
  color: var(--link-color);
  display: inline-block;
}

.info-detail__data .tag {
  display: inline-block;
  font-size: 1rem;
  text-align: center;
  padding: 2px 1em;
  border-radius: 15px;
  background: #eaeaea;
}

.info-text {
  padding-bottom: 3em;
  margin-bottom: 3em;
  border-bottom: solid 1px #ccc;
  overflow: hidden;
}

.info-button__arrow {
  color: var(--btn-color);
  border: 1px solid var(--btn-color);
  padding: 0px 20px;
  height: 100%;
  display: inline-flex !important;
  justify-content: center;
  align-items: center;
  transition: all 0.5s ease;
}

.info-button__arrow:hover {
  color: #fff;
  background-color: var(--btn-color);
}

/* カテゴリー */
.info {
  color: var(--text_color);
  background: #e8ca95 !important;
}

.recruit {
  color: var(--text_color);
  background: #a8bed2 !important;
}

/*=======================================
お問い合わせフォーム
=======================================*/
.form-txt {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #dadada;
  background-color: #f9f9f9;
}

::placeholder {
  color: #ccc;
}

.requied {
  font-size: 0.8em;
  color: #fff;
}

.form-width {
  width: 100%;
}

div.wpcf7 .wpcf7-spinner {
  display: none !important; /* ローダー非表示 */
}

.table-form th {
  font-weight: normal;
  width: 25%;
  padding: 20px 10px;
  color: #fff;
  background-color: var(--main-color);
  border-bottom: solid 1px #ccc;
}

.table-form td {
  padding: 20px 10px;
  border-bottom: solid 1px #ccc;
  background-color: #f8f9fa;
}

.table-form tr:last-child th,
.table-form tr:last-child td {
  border-bottom: 1px solid #dee2e6;
}

.table-form .last {
  text-align: center;
  border-bottom: solid 2px #fff;
}

@media screen and (max-width: 991px) {
  .table-form th,
  .table-form td {
    text-align: center;
    width: 100%;
    display: block;
  }

  .table-form tr:last-child th {
    border-bottom: 0px;
  }

  div.wpcf7 .wpcf7-spinner {
    display: none !important;
  }
}

input.wpcf7-submit {
  padding: 0.8em !important;
  background-color: var(--btn-color) !important;
  border-radius: 5px !important;
  color: #fff !important;
  font-size: 1.6rem !important;
  width: 40%;
  transition: 0.5s;
  border: none;
}

input.wpcf7-submit:hover {
  background-color: var(--sub-color) !important;
  color: #fff !important;
}

.btn-submit {
  width: 100%;
  text-align: center;
}

/* reCAPTCHA非表示 */
/*.grecaptcha-badge {
  visibility: hidden;
}*/

.grecaptcha-badge {
  bottom: 90px !important;
}

/*=======================================
テンプレート用
=======================================*/
/* 固定バナー */
.banner-box {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  z-index: 10;
}

.banner {
  font-size: 1.4rem;
  color: #fff;
  padding: 15px;
  background: var(--btn-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 10px 0 0 10px;
  margin-bottom: 10px;
  transition: all 0.5s ease;
}

.banner span {
  writing-mode: vertical-rl;
  display: inline-block;
}

.banner:hover {
  background: var(--sub-color);
}

@media screen and (max-width: 991px) {
  .banner {
    display: none;
  }
}

/* テキストサイズ */
.fs12 {
  font-size: 1.2rem;
}

.fs14 {
  font-size: 1.4rem;
}

.fs18 {
  font-size: 1.8rem;
}

.fs24 {
  font-size: clamp(2rem, 2.9vw, 2.4rem);
}

.fs26 {
  font-size: clamp(2.2rem, 2.9vw, 2.6rem);
}

.fs36 {
  font-size: clamp(3rem, 2.9vw, 3.6rem);
}

.fs42 {
  font-size: clamp(3rem, 2.9vw, 4.2rem);
  line-height: 1.5;
}

/* テキストカラー */
.text-red {
  color: #dc3445;
}

.text-blue {
  color: #0d6efd;
}

.text-yellow {
  color: #ffca47;
}

.text-green {
  color: #1a8754;
}

/* マーカーテキスト */
.text-marker {
  background: -webkit-linear-gradient(transparent 60%, #ffff8e 70%);
  background: linear-gradient(transparent 60%, #ffff8e 70%);
  background: -webkit-linear-gradient(transparent 60%, #ffff8e 60%);
  font-weight: bold;
}

/* リストスタイル */
li::marker {
  color: var(--sub-color);
}

/* ボーダーボックス */
.border-box {
  padding: 1em;
  border: 1px solid var(--main-color);
  background-color: #fff;
}

/* フロート */
.float-l {
  float: left;
  margin: 0 10px 0 0;
}

.float-r {
  float: right;
  margin: 0 0 0 10px;
}

.float-c {
  margin: 0 auto;
  display: block;
}

@media screen and (max-width: 991px) {
  .float-l,
  .float-r,
  .float-c {
    float: none;
    margin: 0 0 10px 0;
    width: 100%;
    height: auto;
  }
}

/* 背景有りボックス */
.box-bg {
  border: 1px solid #ccc;
  padding: 10px;
}

.box-bg__y {
  background: #ffffee; /* 黄色 */
}

.box-bg__b {
  background: #e0ffff; /* 水色 */
}

.box-bg__p {
  background: #fff0f5; /* ピンク */
}

/*=======================================
レスポンシブテーブル
=======================================*/
.table-resp {
  width: 100%;
}

.table-resp th {
  color: #fff;
  font-weight: normal;
  min-width: 200px;
  background-color: var(--main-color);
  padding: 10px;
  border: solid 1px #ccc;
}

.table-resp td {
  padding: 10px;
  border: solid 1px #ccc;
  background-color: #fff;
}

@media screen and (max-width: 991px) {
  .table-resp th,
  .table-resp td {
    display: block;
    border-bottom: none;
  }

  .table-resp tr:last-child {
    border-bottom: solid 1px #ccc;
  }
}

/*=======================================
ラインテーブル
=======================================*/
.table-line {
  width: 100%;
}

.table-line th {
  font-weight: bold;
  min-width: 250px;
  padding: 10px;
  border-bottom: solid 1px #ccc;
}

.table-line td {
  padding: 10px;
  border-bottom: solid 1px #ccc;
}

@media screen and (max-width: 991px) {
  .table-line th,
  .table-line td {
    display: block;
    border-bottom: solid 1px #ccc;
  }
}

/*=======================================
スクロールテーブル
=======================================*/
.table-scroll {
  padding: 0;
  overflow: auto;
}

.table-scroll tr:nth-child(odd) td {
  background: #f8f8f8;
}

.table-scroll table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}

.table-scroll th {
  color: #fff;
  text-align: center;
  background-color: var(--sub-color);
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  padding: 10px;
  white-space: nowrap;
}

.table-scroll td {
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  padding: 10px;
}

.table-scroll table tr:first-child th,
.table-scroll table tr:first-child td {
  border-top: 1px solid #ccc;
}
.table-scroll table th:first-child,
.table-scroll table td:first-child {
  border-left: 1px solid #ccc;
}
.table-scroll table th.fixed-cell,
.table-scroll table td.fixed-cell {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  min-width: 60px;
  width: 60px;
}

.table-scroll__swipe {
  font-size: 1.4rem;
  text-align: center;
  padding: 10px;
}

.table-scroll__swipe {
  animation: sway 2s linear infinite;
}

@keyframes sway {
  0% {
    transform: translate(0);
  }
  25% {
    transform: translate(8px);
  }
  50% {
    transform: translate(0);
  }
  75% {
    transform: translate(-8px);
  }
  100% {
    transform: translate(0);
  }
}

@media screen and (max-width: 991px) {
  .h300 {
    height: 300px;
  }

  .table-scroll td {
    white-space: nowrap;
  }
}

/*=======================================
テーブルthサイズ指定
=======================================*/
.th-w300 {
  width: 300px;
}

.th-w400 {
  width: 400px;
}

.th-w500 {
  width: 500px;
}

.th-w600 {
  width: 600px;
}

@media screen and (max-width: 991px) {
  .th-w300,
  .th-w400,
  .th-w500,
  .th-w600 {
    width: 100%;
  }
}

/*=======================================
ボタン
=======================================*/
.button {
  color: #fff;
  text-align: left;
  width: auto; /* 横幅を自動調整 */
  max-width: fit-content; /* 内容に合わせて最大幅を調整 */
  display: inline-block;
  padding: 10px 50px;
  background: var(--btn-color);
  border: 1px solid var(--btn-color);
  transition: all 0.5s ease;
  position: relative;
  /* box-shadow: var(--shadow); */
}

.button:hover {
  color: var(--btn-color);
  background: none;
}

.button::before {
  content: "";
  position: absolute;
  top: calc(50% - 5px);
  right: 25px;
  width: 10px;
  height: 10px;
  border: 1px solid;
  border-color: transparent transparent #fff #fff;
  transform: rotate(-135deg);
  transition: all 0.5s ease;
}

.button:hover::before {
  border-color: transparent transparent var(--btn-color) var(--btn-color);
  right: 20px;
}

/* 白ボタン */
.button__white {
  color: var(--main-color);
  text-align: left;
  width: auto; /* 横幅を自動調整 */
  max-width: fit-content; /* 内容に合わせて最大幅を調整 */
  display: inline-block;
  padding: 10px 50px;
  background: #fff;
  border: 1px solid #fff;
  transition: all 0.5s ease;
  position: relative;
  /* box-shadow: var(--shadow); */
}

.button__white:hover {
  color: #fff;
  background: none;
}

.button__white::before {
  content: "";
  position: absolute;
  top: calc(50% - 5px);
  right: 25px;
  width: 10px;
  height: 10px;
  border: 1px solid;
  border-color: transparent transparent var(--btn-color) var(--btn-color);
  transform: rotate(-135deg);
  transition: all 0.5s ease;
}

.button__white:hover::before {
  border-color: transparent transparent #fff #fff;
  right: 20px;
}

/* 背景無し */
.button__line {
  color: var(--btn-color);
  background: none;
}

.button__line:hover {
  color: #fff;
  background: var(--btn-color);
}

.button__line::before {
  border-color: transparent transparent var(--btn-color) var(--btn-color);
}

.button__line:hover::before {
  border-color: transparent transparent #fff #fff;
}

/* オプション */
.button__rounded {
  border-radius: 10px;
}

.button__circle {
  border-radius: 100px;
}

.button_shadow {
  box-shadow: var(--shadow);
}

/*=======================================
タブ
=======================================*/
input[name="tab_button"] {
  display: none;
}

.tabs {
  display: flex;
  width: 100%;
}

.tabs label {
  text-align: center;
  width: calc(100% / 3);
  padding: 10px 0;
  margin-right: 1px;
  cursor: pointer;
}

@media screen and (max-width: 991px) {
  .tabs {
    display: flex;
    flex-direction: column;
  }

  .tabs label {
    width: calc(100% / 1);
  }
}

.tabs label:last-child {
  margin-right: 0px;
}

#tab1:checked ~ .tabs .tab-name1,
#tab2:checked ~ .tabs .tab-name2,
#tab3:checked ~ .tabs .tab-name3,
#tab4:checked ~ .tabs .tab-name4 {
  background-color: #fff;
  border-top: 3px solid var(--sub-color);
  border-bottom: 1px solid #fff;
}

#tab1 ~ .tabs .tab-name1,
#tab2 ~ .tabs .tab-name2,
#tab3 ~ .tabs .tab-name3,
#tab4 ~ .tabs .tab-name4 {
  background: #f5f7f9;
  border: 1px solid #ccc;
}

#tab1:checked ~ .tabs-contents .tab-contents1,
#tab2:checked ~ .tabs-contents .tab-contents2,
#tab3:checked ~ .tabs-contents .tab-contents3,
#tab4:checked ~ .tabs-contents .tab-contents4 {
  display: block;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

#tab1 ~ .tabs-contents .tab-contents1,
#tab2 ~ .tabs-contents .tab-contents2,
#tab3 ~ .tabs-contents .tab-contents3,
#tab4 ~ .tabs-contents .tab-contents4 {
  padding: 20px;
  display: none;
}

/*=======================================
WordPress--投稿記事スタイル
=======================================*/
.blog-box h2 {
  font-size: clamp(1.8rem, 2.9vw, 2rem);
  padding: 20px 30px 20px 40px;
  position: relative;
  background: #eef1f2;
  border-radius: 10px;
  margin-bottom: 1em;
}

.blog-box h2::before {
  position: absolute;
  top: 25%;
  left: 20px;
  width: 6px;
  height: 50%;
  content: "";
  opacity: 0.2;
  border-radius: 3px;
  background: var(--sub-color);
}

.blog-box h3 {
  font-size: clamp(1.4rem, 2.9vw, 1.8rem);
  padding: 1rem 0;
  border-bottom: solid 1px var(--main-color);
  margin-bottom: 1em;
}

.mainbox {
  overflow: hidden;
}

/* ブログ記事画像フロート */
img.alignleft {
  float: left;
  margin: 0 10px 0 0;
}

img.alignright {
  float: right;
  margin: 0 0 0 10px;
}

img.aligncenter {
  margin: 0 auto;
  display: block;
}

@media screen and (max-width: 991px) {
  img.alignleft,
  img.alignright,
  img.aligncenter {
    float: none;
    margin: 0 0 10px 0;
    width: 100%;
    height: auto;
  }
}

/*=======================================
WordPress--ページナビ
=======================================*/
.pager a {
  color: var(--main-color);
}

.wp-pagenavi {
  /* 全体 */
  margin: 20px 0;
  font-size: 1.4rem;
}

.wp-pagenavi a {
  /* フォント色 */
  color: var(--main-color);
}

.pages {
  /* 左の表記 */
  margin-right: 20px;
}

.wp-pagenavi .current,
.wp-pagenavi a.page {
  /* ボタン */
  margin: 0 6px 6px 0;
  display: inline-block;
  border: solid 1px #ccc;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  line-height: 40px;
  text-align: center;
}

.wp-pagenavi .current {
  /* カレント数字 */
  border: none;
  background: var(--main-color);
  color: #fff;
}

.wp-pagenavi a.page:hover {
  /* マウスオーバー */
  background: var(--main-color);
  color: #fff;
  text-decoration: none;
}

.wp-pagenavi .first,
.wp-pagenavi .extend {
  /* ... */
  margin-right: 10px;
}

.wp-pagenavi .previouspostslink,
.wp-pagenavi .nextpostslink {
  /* 記号の削除 */
  display: none;
}

/*=======================================
WordPressブログ--リストカード表示
=======================================*/
.crane {
  color: #fff;
  background-color: #045c9c;
}

.elevator {
  color: #fff;
  background-color: #0e86d4;
}

.lift {
  color: #fff;
  background-color: #68bbe3;
}

.cat-tit {
  text-align: center;
  font-size: 1.6rem;
  border-bottom: #ccc solid 1px;
  margin-bottom: 20px;
  color: var(--main-color);
  font-weight: bold;
}

.cat-bg {
  border: #ccc solid 1px;
  padding: 10px;
  background-color: #fff;
}

.cat-box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  color: #fff;
  border-radius: 5px;
}

.cat-box:hover {
  opacity: 0.8;
}

.cat-box img {
  height: 30px;
  margin-right: 10px;
}

.blog-list-card {
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--link-color);
  background-color: #fff;
  overflow: hidden;
  transition: 0.2s ease;
  box-shadow: var(--shadow);
  border-radius: 10px;
  position: relative;
}

.blog-list-card .ribbon {
  font-size: 1.2rem;
  width: 150px;
  padding: 7px;
  font-weight: bold;
  background: #4564c9;
  color: #ffffff;
  text-align: center;
  position: absolute;
  top: 20px;
  right: -40px;
  text-transform: uppercase;
  transform: rotate(-315deg);
  box-shadow: var(--shadow);
  z-index: 2;
}

/* .blog-list-card:hover {
  上部移動時ON
  transform: translateY(-5px);
} */

.blog-list-card img {
  transition: 0.2s ease;
}

.blog-list-card:hover img {
  /* 範囲内で画像拡大時ON */
  transform: scale(1.1);
}

.blog-list-card__img {
  width: 100%;
  height: 230px;
  overflow: hidden;
}

.blog-list-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-list-card__text {
  padding: 15px;
  width: 100%;
}

.blog-list-card__text .tit {
  font-size: clamp(1.6rem, 2.9vw, 1.8rem);
  font-weight: bold;
  margin-bottom: 5px;
}

.blog-list-card__data {
  display: table-cell;
  white-space: nowrap;
}

.blog-list-card__data .day {
  display: inline-block;
  color: #333;
  font-size: 1.6rem;
  margin-bottom: 5px;
}

.blog-list-card__data .tag {
  display: inline-block;
  font-size: 1.2rem;
  text-align: center;
  padding: 3px 15px;
  border-radius: 15px;
  color: #fff;
  background: var(--main-color);
}

.blog-list-card__data .crane {
  color: #fff;
  background-color: #045c9c;
}

.blog-list-card__data .elevator {
  color: #fff;
  background-color: #0e86d4;
}

.blog-list-card__data .lift {
  color: #fff;
  background-color: #68bbe3;
}

/* @media screen and (max-width: 991px) {
  .blog-list-card {
    display: flex;
  }

  .blog-list-card__img {
    width: 80px;
    height: 100%;
  }

  .blog-list-card__text {
    padding: 10px;
  }
} */

/*=======================================
WordPressブログ--詳細表示
=======================================*/
.blog-detail__data {
  display: table-cell;
  white-space: nowrap;
  padding-right: 1em;
}

.blog-detail__data .day {
  font-size: 1.2rem;
  color: var(--link-color);
  display: inline-block;
}

.blog-detail__data .tag {
  display: inline-block;
  font-size: 1rem;
  text-align: center;
  padding: 2px 1em;
  border-radius: 15px;
  background: #f8f8f8;
  border: solid 1px #ccc;
}

/*=======================================
WordPressブログ--各テンプレート投稿スタイル
=======================================*/
/* 全般 */
.margin-box {
  height: 100px;
}

.margin-box__line {
  border-bottom: 1px solid #ccc;
  margin: 50px 0;
}