/* ============================= */
/*  変数・フォント設定           */
/* ============================= */
@charset "UTF-8";
/* ============================= */
/*  フォント                     */
/* ============================= */
/* Swei Match Sans CJK */
@charset "UTF-8";

:root {
  /* 色管理用の変数 */
  --white-color: #ffffff;
  --black-color: #001c2b;
  --gray-color: #f0f0f0;
  --gray-color02: #ccc;
  --gray-color03: #f2f2f2;
  --gray-color04: #707070;
  --primary-color: #2139a4;
  --primary-color02: #2e7bff;
  --primary-color03: #07213b;
  --accent-color: #d90609;
  --accent-color02: #ffdd00;
  --bg-color: #f5f7ff;
  --primary-gradation: linear-gradient(
    180deg,
    #05184e 0%,
    #183080 50%,
    #05184e 100%
  );
}

:root {
  /* コンテンツ幅管理用の変数 */
  --content-width-sm: 800px;
  --content-width: 936px;
  --content-width-lg: 1080px;
}

:root {
  /* z-index管理用の変数 */
  --z-index-back: -1;
  --z-index-default: 1;
  --z-index-page-top: 50;
  --z-index-header: 100;
  --z-index-menu: 150;
  --z-index-modal: 200;
}

/* Swei Match Sans CJK */
@font-face {
  font-family: "SweiMatchSansCJK";
  src: url("../fonts/SweiMatchSansCJK.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
h1 {
  font-family: "SweiMatchSansCJK", sans-serif;
}

/* ============================= */
/*  ベース・共通                 */
/* ============================= */
body {
  background: var(--bg-color);
}

body {
    font-family: 'Noto Sans JP', sans-serif;
}


.pc-only {
  display: none;
}

@media screen and (min-width: 1080px) {
  .pc-only {
    display: block;
  }
}

@media screen and (min-width: 1080px) {
  .sp-only {
    display: none;
  }
}

.form-wrapper {
  padding: 0 10px;
}

@media screen and (min-width: 768px) {
  .form-wrapper {
    padding: 0 20px;
  }
}

@media screen and (min-width: 1080px) {
  .form-wrapper {
    display: none;
  }
}

@media screen and (min-width: 1200px) {
  .form-wrapper {
    display: none;
  }
}

/* ============================= */
/*  ディバイダー                 */
/* ============================= */
.divider {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--primary-color);
  margin: 20px 0;
  position: relative;
}

.divider::before {
  content: "";
  display: block;
  height: 2px;
  background: var(--gray-color);
  width: calc(100% - 35px);
  position: absolute;
  top: 0;
  right: 0;
}

/* ============================= */
/*  ヘッダー                     */
/* ============================= */
/* ========== ヘッダー ========== */
.site-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 2rem 0.2rem 2rem;
  background: var(--white-color);
}
.site-header__top-left {
  display: flex;
  align-items: center;
}
.site-header__top-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.site-header__contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-right: 1rem;
  font-size: 0.95rem;
  color: var(--primary-color);
}
.site-header__tel {
  font-weight: bold;
  text-align: center;
  font-size: 24px;
}
.site-header__time {
  font-size: 12px;
  text-align: center;
}

.site-header__contact-btn {
  display: inline-block;
  background: var(--accent-color);
  color: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.2s;
}
.site-header__contact-btn:hover {
  background: #0056b3;
}
.site-header__bottom {
  display: flex;
  align-items: center;
  background: var(--primary-color);
  padding: 0.2rem 2rem;
  position: relative;
}
.site-header__title {
  font-size: 20px;
  color: var(--primary-color);
  margin: 0;
  font-weight: bold;
}

@media screen and (min-width: 1080px) {
  .site-header__title {
    font-size: 24px;
  }
}

.site-header__link {
  text-decoration: none;
}
.site-header__hamburger {
  display: block;
  width: 40px;
  height: 28px;
  position: relative;
  z-index: 1001;
  border: none;
  background: transparent;
}
.site-header__hamburger-bar {
  width: 100%;
  height: 4px;
  position: absolute;
  right: 0;
  background: var(--primary-color);
}
.bar01 {
  top: 0;
  width: 50px;
}
.bar02 {
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
}
.bar03 {
  top: 100%;
  transform: translateY(-100%);
  width: 30px;
}

@media (min-width: 1080px) {
  .site-header__top {
    padding: 0.5rem 2rem 0.2rem 2rem;
  }
  .site-header__top-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }
  .site-header__hamburger {
    display: none;
  }
  .site-header__nav {
    display: flex;
  }
}
@media screen and (min-width: 1080px) {
  .site-header__hamburger {
    display: none;
  }

  .nav__list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: var(--primary-color);
    color: var(--white-color);
  }

  .nav__item:not(:first-child):before {
    content: "|";
    margin: 0 10px;
    color: var(--white-color);
    font-size: 14px;
  }

  .top__kv-right-contents {
    display: none;
  }
}
@media (max-width: 1080px) {
  .site-header__top,
  .site-header__bottom {
    flex-direction: column;
    align-items: stretch;
    padding: 0.7rem 1rem;
  }
  .site-header__top-right {
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    margin-top: 0.5rem;
  }
  .site-header__bottom {
    align-items: flex-start;
  }
}
/* ========== モバイル時のヘッダー上部レイアウト調整 ========== */
@media (max-width: 1080px) {
  .site-header__top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: relative;
  }
  .site-header__top-left {
    flex: 1;
  }
  /* .site-header__top-right {
    display: none;
  } */
  .site-header__bottom {
    padding-top: 0;
  }
}

@media (max-width: 1080px) {
  .site-header__bottom {
    /* display: none; */
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: var(--primary-color);
    z-index: 2000;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0 1rem;    /* 上下パディングは nav-opened で付与 */
    transition: opacity 0.3s ease, max-height 0.3s ease, padding 0.3s ease;
  }
  .site-header__bottom.nav-opened {
    /* display: block; */
    opacity: 1;
    height: 100vh;
    pointer-events: auto;
    padding: 0.7rem 1rem; /* 上下パディングも復活 */
  }
  .site-header__nav {
    display: block;
    width: 100%;
  }
  .nav__list--border {
    flex-direction: column;
    width: 100%;
  }
  .nav__item {
    width: 100%;
  }
  .nav__link {
    display: block;
    width: 100%;
    padding: 1.2rem 0.5rem;
    color: var(--white-color);
    border-bottom: 1px solid #2e7bff;
    text-align: left;
    font-size: 18px;
  }
  .nav__link:last-child {
    border-bottom: none;
  }
}

/* ============================= */
/*  ナビゲーション                */
/* ============================= */
/* ========== ナビゲーション ========== */
.site-header__nav {
  display: none;
  flex-direction: column;
  gap: 0;
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  z-index: 1000;
}

@media screen and (min-width: 1080px) {
  .site-header__nav {
    top: 0;
  }
}

.site-header__nav.nav--open {
  display: flex;
  background: var(--primary-color);
  transition: right 0.3s ease;
}
.site-header__nav-link {
  color: #333;
  text-decoration: none;
  padding: 1rem;
  border-radius: 0;
  border-bottom: 1px solid #eee;
  transition: background 0.2s;
}
.site-header__nav-link:hover {
  background: #e0e0e0;
}
.site-header__nav-separator {
  display: none;
}

/* ============================= */
/*  メイン・トップページ           */
/* ============================= */
/* ========== Main & Others ========== */
.main {
  width: 100%;
  margin: 2rem auto;
  padding: 0 10px;
}

.pc-form {
  display: none;
}

@media screen and (min-width: 1080px) {
  .pc-form {
    display: block;
  }
}

.top__contents {
  padding: 50px 0;
  max-width: var(--content-width-lg);
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .top__contents {
    padding: 50px 20px;
  }
}

@media screen and (min-width: 1080px) {
  .top__contents {
    padding: 50px 10px;
  }
}

.pc-form .top__contents {
  max-width: 1080px;
}

@media screen and (min-width: 1200px) {
  .pc-form .top__contents {
  max-width: 1200px;
}
}

.top__category-search .top__contents {
  max-width: 1200px;
}

.top__category-search-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
}

@media screen and (min-width: 1080px) {
  .top__category-search-title {
    font-size: 36px;
  }
}

.top__category-list {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.top__category-item {
  width: calc((100% - 5px) / 2);
}

@media screen and (min-width: 1080px) {
  .top__category-item {
    width: calc((100% - 120px) / 4);
  }
}

.top__category-link {
  font-size: 9px;
  color: var(--primary-color);
}

@media screen and (min-width: 1080px) {
  .top__category-link {
    font-size: 11px;
  }
}

@media screen and (min-width: 1200px) {
  .top__category-link {
    font-size: 12px;
  }
}

.top__category-link::before {
  content: "▲";
  color: var(--accent-color);
  margin-right: 5px;
  display: inline-block;
  transform: rotate(90deg);
}

.top__category-img-wrapper {
  width: 100%;
  aspect-ratio: 1.3 / 1;
  margin-top: 10px;
}

.top__category-img {
  width: 100%;
  height: auto;
}

.top__category-link[href="#"] {
  color: #999;            /* 文字色をグレーに */
  pointer-events: none;   /* クリック不可に */
  cursor: default;        /* カーソルを変更 */
}

.top__category-link[href="#"] img {
  opacity: 0.5;           /* 画像を半透明に */
}


.top__about-grant-subtitle-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.top__about-grant-subtitle {
  padding: 5px 70px;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  line-height: 1;
  background: var(--white-color);
}

@media screen and (min-width: 1080px) {
  .top__about-grant-subtitle {
    font-size: 20px;
  }
}

.top__about-grant-title {
  text-align: center;
  font-weight: 500;
  font-size: 32px;
  margin-top: 10px;
}

@media screen and (min-width: 1080px) {
  .top__about-grant-title {
    font-size: 40px;
  }
}

.top__about-grant-text {
  line-height: 1.8;
  margin-top: 20px;
}

@media screen and (min-width: 1080px) {
  .top__about-grant-text {
    text-align: center;
  }
}

.top__about-grant-font-small {
  font-size: 20px;
}

@media screen and (min-width: 1080px) {
  .top__about-grant-font-small {
    font-size: 24px;
  }
}

@media screen and (min-width: 768px) {
  .mobile-table {
    display: none;
  }
}

.pc-table {
  display: none;
}

@media screen and (min-width: 768px) {
  .pc-table {
    display: table;
    margin-left: auto;
    margin-right: auto;
  }
}

.top__about-table {
  margin-top: 20px;
  border-collapse: collapse;
  width: 100%;
  border: 1px solid #e6e6e6;
  background: var(--white-color);
}

.top__about-table thead {
  background: var(--primary-color);
  color: var(--white-color);
  width: 100%;
}

@media screen and (min-width: 1080px) {
  .top__about-table {
    font-size: 20px;
  }
}

.top__about-table th {
  text-align: center;
  font-weight: 500;
  padding: 5px 0;
}

@media screen and (min-width: 1080px) {
  .top__about-table th {
    font-size: 20px;
    padding: 15px 100px;
  }
}

.top__about-table td {
  padding: 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-color);
  border: 1px solid #e6e6e6;
}

@media screen and (min-width: 1080px) {
  .top__about-table td {
    font-size: 18px;
  }

  .pc-td {
    text-align: center;
  }
}

.top__flow-img-wrapper {
  display: none;
}

@media screen and (min-width: 1080px) {
  .top__flow-img-wrapper {
    display: block;
    margin-top: 40px;
    max-width: var(--content-width-lg);
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (min-width: 1080px) {
  .top__flow-list {
    margin-top: 40px;
  }
}

@media screen and (min-width: 1080px) {
  .top__flow-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
  }
}

@media screen and (min-width: 1080px) {
  .top__flow-step-wrapper {
    width: 240px;
  }
}

.form__text-align-center {
  text-align: center;
}

.top__about-table-copy {
  font-size: 10px;
  color: var(--gray-color04);
  margin-top: 10px;
}

.top__about-detail-btn-wrapper {
  margin: 0 auto;
  background: var(--white-color);
  border: 1px solid var(--primary-color);
  border-radius: 50vh;
  width: 350px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 60px;
}

.top__about-detail-btn {
  font-weight: bold;
  color: var(--primary-color);
}

.top__flow-title {
  text-align: center;
  font-weight: 500;
  font-size: 24px;
  color: var(--primary-color);
}

.top__flow-step-number {
  margin-top: 20px;
  color: var(--primary-color);
}

@media screen and (min-width: 1080px) {
  .top__flow-step-number {
    margin-top: 0;
  }
}

.top__flow-step-title {
  margin-top: 10px;
  font-size: 20px;
  color: var(--primary-color);
  font-weight: 500;
}

.top__flow-item-text {
  font-size: 14px;
  margin-top: 10px;
}

.top__kv {
  height: 600px;
  position: relative;
  background: linear-gradient(rgba(33, 57, 164, 0.8), rgba(33, 57, 164, 0.8)),
    url("../img/top_kv_bg_mobile.jpg") center/cover;
}

@media screen and (min-width: 768px) {
  .top__kv {
    height: 750px;
  }
}

@media screen and (min-width: 1080px) {
  .top__kv {
    height: 300px;
  }
}

.top__kv-contents {
  width: 100%;
  padding: 0 10px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media screen and (min-width: 1080px) {
  .top__kv-contents {
    /* position: static; */
    top: 50%;
    left: auto;
    transform:translateY(-50%);
    padding: 0 50px;
  }
}

@media screen and (min-width: 1080px) {
  .top__kv-title-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

.top__kv-title {
  font-size: 28px;
  text-align: center;
  color: var(--white-color);
  font-weight: 600;
}

@media screen and (min-width: 768px) {
  .top__kv-title {
    font-size: 58px;
  }
}

@media screen and (min-width: 1080px) {
  .top__kv-title {
    font-size: 40px;
  }
}

@media screen and (min-width: 1200px) {
  .top__kv-title {
    font-size: 56px;
  }
}

.top__kv-title-sub {
  text-align: center;
  color: var(--white-color);
  font-weight: 500;
  font-size: 20px;
  margin-top: 10px;
}

@media screen and (min-width: 768px) {
  .top__kv-title-sub {
    font-size: 30px;
  }
}

@media screen and (min-width: 1080px) {
  .top__kv-title-sub {
    font-size: 40px;
    margin-top: 0;
  }
}

@media screen and (min-width: 1200px) {
  .top__kv-title-sub {
    font-size: 56px;
    text-align: left;
  }
}

.top__kv-copy-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

@media screen and (min-width: 768px) {
  .top__kv-copy-inner {
    align-items: end;
  }
}

@media screen and (min-width: 1200px) {
  .top__kv-copy-inner {
    justify-content: center;
    align-items: end;
    position: relative;
  }

  /* .top__kv-copy-inner::before {
    content: "";
    background: url("../img/top_kv_icon.png") center/cover;
    position: absolute;
    top: 50%;
    right: 0;
    display: block;
    width: 200px;
    height: 200px;
    transform: scaleY(-50%);
  } */
}


.top__kv-copy {
  text-align: center;
  color: var(--accent-color02);
  font-size: 24px;
  font-weight: bold;
  line-height: 1.3;
}

@media screen and (min-width: 768px) {
  .top__kv-copy {
    font-size: 48px;
    display: flex;
    justify-content: flex-start;
    margin-bottom: 2px;
  }
}

@media screen and (min-width: 1080px) {
  .top__kv-copy {
    font-size: 40px;
    display: flex;
    margin-bottom: 4px;
  }
}

.top__kv-num {
  display: flex;
  justify-content: center;
  align-items: end;
  gap: 10px;
  font-size: 24px;
  color: var(--accent-color02);
  font-weight: bold;
}

@media screen and (min-width: 768px) {
  .top__kv-num {
    font-size: 48px;
  }
}

@media screen and (min-width: 1080px) {
  .top__kv-num {
    font-size: 40px;
  }
}

.top__kv-font-bold {
  font-size: 72px;
  line-height: 1;
}

@media screen and (min-width: 768px) {
  .top__kv-font-bold {
    font-size: 120px;
  }
}

@media screen and (min-width: 1080px) {
  .top__kv-font-bold {
    font-size: 80px;
    line-height: 1;
  }
}

/* @media screen and (min-width: 1080px) {
  .top__kv-copy-wrapper {
    display: flex;
    justify-content: flex-start;
    gap: 40px;
  }
} */

.top__kv-sub-copy {
  text-align: center;
  color: var(--white-color);
  font-size: 20px;
  font-weight: 500;
  margin-top: 10px;
  position: relative;
}

@media screen and (min-width: 768px) {
  .top__kv-sub-copy {
    font-size: 32px;
  }
}

@media screen and (min-width: 1080px) {
  .top__kv-sub-copy {
    font-size: 32px;
  }
}

/* @media screen and (min-width: 1080px) {
  .top__kv-sub-copy {
    text-align: left;
    font-size: 32px;
    display: inline-block;
    margin-bottom: 4px;
    margin-left: 40px;
    color: var(--primary-color);
    background: var(--white-color);
    padding: 5px 20px;
    font-weight: 500;
  }
} */

.top__kv-sub-copy::before {
  content: "";
  width: calc((100% - 152px - 60px) / 2);
  position: absolute;
  height: 2px;
  background: var(--white-color);
  top: 50%;
  left: 0;
  margin-left: 10px;
}

@media screen and (min-width: 768px) {
  .top__kv-sub-copy::before {
    width: calc((100% - 280px - 100px) / 2);
  }
}

@media screen and (min-width: 1080px) {
  .top__kv-sub-copy::before {
    width: calc((100% - 280px - 150px) / 2);
    margin-left: 80px;
  }
}

@media screen and (min-width: 1200px) {
  .top__kv-sub-copy::before {
    width: calc((100% - 280px - 200px) / 2);
    margin-left: 100px;
  }
}

/* @media screen and (min-width: 1200px) {
  .top__kv-sub-copy::before {
    display: none;
  }
} */

.top__kv-sub-copy::after {
  content: "";
  width: calc((100% - 152px - 60px) / 2);
  position: absolute;
  height: 2px;
  background: var(--white-color);
  top: 50%;
  right: 0;
  margin-right: 10px;
}

@media screen and (min-width: 768px) {
  .top__kv-sub-copy::after {
    width: calc((100% - 280px - 60px) / 2);
  }
}

@media screen and (min-width: 1080px) {
  .top__kv-sub-copy::after {
    width: calc((100% - 280px - 150px) / 2);
    margin-right: 80px;
  }
}

@media screen and (min-width: 1200px) {
  .top__kv-sub-copy::after {
    width: calc((100% - 280px - 200px) / 2);
    margin-right: 100px;
  }
}

/* @media screen and (min-width: 1200px) {
  .top__kv-sub-copy::after {
    display: none;
  }
} */

.top__kv-search-title {
  margin-top: 40px;
  font-size: 24px;
  font-weight: bold;
  color: var(--white-color);
}

@media screen and (min-width: 768px) {
  .top__kv-search-title {
    font-size: 32px;
  }
}

/* ============================= */
/*  検索フォーム                  */
/* ============================= */
/* ========== top__kv-search-form ========== */
.top__kv-search-form {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  margin-top: 1.2rem;
}
.top__kv-search-row {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 5px;
}

.top__kv-search-row-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 5px;
}

.form__sp-style {
  width: calc((100% - 20px) / 3);
}

.top__kv-search-label {
  color: #333;
}


.top__kv-search-input,
.top__kv-search-select {
  padding: 15px 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  background: #fafbfc;
  transition: border 0.2s;
}

@media screen and (min-width: 768px) {
  .top__kv-search-input,
  .top__kv-search-select {
    font-size: 12px;
    padding: 15px 0;
    padding-right: 50px;
    padding-left: 15px;
  }
}

.top__kv-search-input:focus,
.top__kv-search-select:focus {
  border: 1.5px solid #007bff;
  outline: none;
}
.top__kv-search-button {
  width: 100%;
  padding: 0.7rem 0;
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 0.3rem;
}
.top__kv-search-button:hover {
  background: #0056b3;
}

.page__kv-contents {
  padding: 0 10px;
}

/* .search__result {
  padding: 50px 10px;
}

@media screen and (min-width: 1080px) {
  .search__result {
    padding: 50px;
  }
} */

.page-contents {
  padding: 10px 10px;
}

@media screen and (min-width: 1080px) {
  .page-contents {
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

.search__result-label {
  margin-left: 20px;
  font-size: 14px;
}

@media screen and (min-width: 1080px) {
  .product__contents {
    padding: 0;
  }
}

@media screen and (min-width: 1080px) {
  .product__list {
    display: none;
  }
}

/* デフォルト（モバイル〜タブレット）は非表示 */
.product__table {
  display: none;
}

/* 1080px以上で表示 */
@media screen and (min-width: 1080px) {
  .product__table {
    display: block;
    margin: 0 auto;
    overflow-x: auto; /* 横スクロール対応 */
  }


  .product__table-list {
    border-collapse: collapse;
    width: 100%;
    min-width: 1050px; /* 6列 × 175px の最低幅 */
    table-layout: fixed; /* 均等に割り当て */
  }

  .product__table-list th,
  .product__table-list td {
    width: 175px;
    height: 120px;
    text-align: left;
    border: 1px solid #ccc;
    padding: 8px;
    vertical-align: middle;
  }

  .product__table-list th {
    height: 50px;
    text-align: center;
  }

  /* 画像セルは中央寄せ */
  .product__table-img img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
  }

  /* 背景色を交互に */
  .product__table-list tbody tr:nth-child(odd) {
    background-color: #fff;
  }
  .product__table-list tbody tr:nth-child(even) {
    background-color: #F0F3FF;
  }

  /* ヘッダー */
  .product__table-list th {
    background-color: #2139a4;
    color: #fff;
    font-weight: bold;
  }

  /* お問い合わせボタンの体裁（例） */
  .product__btn-link {
    display: inline-block;
    margin: 4px 2px;
    padding: 6px 12px;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #2139a4;
    color: #2139a4;
    transition: all 0.2s;
    background: var(--white-color);
  }
  .product__btn-link:hover {
    background-color: #2139a4;
    color: #fff;
  }
}



@media screen and (min-width: 1080px) {
  .top__pc-form-title {
    color: var(--white-color);
    font-size: 40px;
    background: var(--primary-color);
    padding: 5px 10px;
    font-weight: bold;
    display: inline-block;
  }
}

/* PC表示時 */
@media (min-width: 1080px) {
  /* ラッパーを横並びに */
  .top__kv-search-row-wrapper {
    flex-direction: row;
    gap: 5px;
    flex-wrap: nowrap; /* 改行させない */
    height: 100%;
  }

  /* 各項目を均等に広げる */
  .top__kv-search-row-wrapper .top__kv-search-row {
    flex: 1;
    max-width: 150px; /* 幅固定を解除 */
  }

  /* ボタンを含む最終行も横並びにしたい場合 */
  .top__kv-search-form > .top__kv-search-row:last-child {
    display: flex;
    justify-content: flex-start; /* 左寄せ */
    /* gap: 5px; */
    max-width: 150px;
  }
}

/* ============================= */
/*  検索結果・ソート・ページネーション */
/* ============================= */
.search-result__sort {
  margin-top: 10px;
  padding: 5px 10px;
  border: 1px solid var(--black-color);
  width: 290px;
}

.search-result__sort-select-wrapper {
  position: relative;
  display: inline-block;
}

.search-result__sort-select-wrapper::after {
  content: "▼";
  position: absolute;
  top: 50%;
  right: 5px;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--black-color);
  font-size: 12px;
}

.search-result__sort-select-wrapper select {
  padding-right: 2em; /* ▼分の余白 */
  appearance: none; /* デフォルト矢印を消す */
  -webkit-appearance: none;
  -moz-appearance: none;
  background: transparent;
}

.search-result__sort-select {
  width: 140px;
}

/* ============================= */
/*  製品リスト・詳細              */
/* ============================= */
.product__item {
  padding: 20px 10px;
  background: var(--white-color);
  border: 1px solid var(--gray-color);
  border-radius: 10px;
  margin-bottom: 20px;
}

.product__title {
  font-size: 14px;
  font-weight: 500;
  margin-top: 20px;
}

.product__description {
  font-size: 14px;
  margin-top: 10px;
}

.product__btn-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 10px;
}

.product__btn-inner {
  width: calc((100% - 40px) / 2);
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--primary-color);
  height: 30px;
}

.more-inner {
  background: var(--white-color);
}

.contact-inner {
  background: var(--primary-color);
}

@media screen and (min-width: 768px) {
  .product__btn-inner {
    height: 40px;
  }
}

.product__btn-more,
.product__btn-contact {
  /* padding-top: 5px;
  padding-bottom: 5px; */
  width: 100%;
  text-align: center;
}

.product__btn-more {
  color: var(--primary-color);
  font-weight: 500;
}

.product__btn-contact {
  color: var(--white-color);
  font-weight: 500;
  background: var(--primary-color);
}

.product__btn-link {
  font-size: 12px;
}

.pagination {
  display: flex;
  justify-content: center;
  margin: 2em 0;
}

.product__input,
.product__textarea {
  border: 1px solid var(--gray-color02);
  width: 100%;
  padding: 5px 10px;
  margin-top: 10px;
}

.product__submit {
  text-align: center;
}

.pagination__list {
  display: flex;
  gap: 0.5em;
  list-style: none;
  padding: 0;
  margin: 0;
}
.pagination__link {
  display: inline-block;
  padding: 0.5em 1em;
  color: #2139a4;
  text-decoration: none;
  border: none;
  background: none;
  font-weight: bold;
  transition: background 0.2s, color 0.2s;
}
.pagination__link--current {
  background: #2139a4;
  color: #fff;
  border: 2px solid #2139a4;
  pointer-events: none;
}
.pagination__link:hover:not(.pagination__link--current) {
  background: #f0f0f0;
}

@media screen and (min-width: 1080px) {
  .product-detail {
    padding: 0 50px;
  }
}

@media screen and (min-width: 1080px) {
  .product-detail__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
  }
}

.product-detail__img-wrapper {
  width: 100%;
  aspect-ratio: 6 / 4;
}

@media screen and (min-width: 1080px) {
  .product-detail__img-wrapper {
    max-width: 600px;
  }
}

.product-detail__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail__catalog-num {
  font-size: 12px;
  color: var(--primary-color);
  margin-top: 20px;
}

@media screen and (min-width: 768px) {
  .product-detail__catalog-num {
    font-size: 14px;
  }
}

@media screen and (min-width: 1080px) {
  .product-detail__catalog-num {
    font-size: 16px;
  }
}

.product-detail__title {
  font-size: 20px;
  margin-top: 5px;
  font-weight: 500;
}

@media screen and (min-width: 768px) {
  .product-detail__title {
    font-size: 24px;
  }
}

@media screen and (min-width: 1080px) {
  .product-detail__title {
    font-size: 32px;
  }
}

.product-detail__description {
  margin-top: 10px;
}

@media screen and (min-width: 1080px) {
  .product-detail__description {
    display: flex;
    justify-content: flex-start;
    align-items: start;
    gap: 20px;
  }
}

.product-detail__description-heading {
  display: inline-block;
  width: 120px;
  font-size: 14px;
  font-weight: 500;
}

@media screen and (min-width: 768px) {
  .product-detail__description-heading {
    font-size: 16px;
  }
}

@media screen and (min-width: 1080px) {
  .product-detail__description-heading {
    font-size: 20px;
  }
}

.product-detail__description-text {
  font-size: 12px;
  display: inline-block;
}

@media screen and (min-width: 768px) {
  .product-detail__description-text {
    font-size: 14px;
  }
}

@media screen and (min-width: 1080px) {
  .product-detail__description-text {
    font-size: 18px;
  }
}

@media screen and (min-width: 1080px) {
  .product-detail__description-text {
    width: calc(100% - 140px);
  }
}

.product-detail__btn-wrapper {
  margin-top: 20px;
  max-width: var(--content-width-lg);
  margin-left: auto;
  margin-right: auto;
}

@media screen and (min-width: 1080px) {
  .product-detail__btn-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 40px;
  }
}

.product-detail__btn-inner {
  max-width: 500px;
  border: 1px solid var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (min-width: 768px) {
  .product-detail__btn-inner {
    font-size: 18px;
  }
}

@media screen and (min-width: 1080px) {
  .product-detail__btn-inner {
    min-width: 450px;
    font-size: 22px;
  }
}

.product-detail__btn-more,
.product-detail__btn-contact {
  padding-top: 20px;
  padding-bottom: 20px;
  width: 100%;
}

.product-detail__btn-more {
  color: var(--primary-color);
  font-weight: 500;
  text-align: center;
}

.product-detail__btn-contact {
  color: var(--white-color);
  background: var(--primary-color);
  text-align: center;
}

.product-detail__btn-spmt {
  margin-top: 10px;
}

@media screen and (min-width: 1080px) {
  .product-detail__btn-spmt {
  margin-top: 0;
}
}

.product-detail__summary {
  margin-top: 50px;
}

.product-detail__summary-title {
  font-size: 24px;
  font-weight: 500;
}

@media screen and (min-width: 1080px) {
  .product-detail__summary-title {
    font-size: 32px;
  }
}

.product-detail__summary-text {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.8;
}

@media screen and (min-width: 1080px) {
  .product-detail__summary-text {
    font-size: 18px;
  }
}

.product-detail__summary-date {
  position: relative;
}

@media screen and (min-width: 1080px) {
  .product-detail__summary-date {
    font-size: 18px;
  }
}

.product-detail__seller {
  margin-top: 20px;
  max-width: var(--content-width-lg);
  margin-left: auto;
  margin-right: auto;
}

@media screen and (min-width: 1080px) {
  .product-detail__seller {
    padding: 0 50px;
  }
}

.product-detail__seller-info {
  background: #eceffd;
  padding: 20px 10px;
}

@media screen and (min-width: 768px) {
  .product-detail__seller-info {
    display: flex;
    justify-content: start;
    gap: 40px;
    padding: 20px;
  }
}

.product-detail__seller-title {
  font-size: 20px;
  font-weight: 500;
}

@media screen and (min-width: 768px) {
  .product-detail__seller-title {
    font-size: 24px;
  }
}

.product-detail__seller-name,
.product-detail__seller-website,
.product-detail__seller-contact {
  font-size: 16px;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

@media screen and (min-width: 768px) {
  .product-detail__seller-name,
.product-detail__seller-website,
.product-detail__seller-contact {
  flex-direction: row;
  gap: 20px;
  font-size: 20px;
}
}

@media screen and (min-width: 768px) {
  .product-detail__seller-name {
    margin-top: 0;
  }
}

@media screen and (min-width: 768px) {
  .product-detail__seller-name-label,
  .product-detail__seller-website-label,
  .product-detail__seller-contact-label {
    width: 140px;
    display: inline-block;
  }
}

@media screen and (min-width: 768px) {
  .product-detail__seller-contact-label {
    flex-shrink: 0;
  }
}

.product-detail__seller-contact-inner {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

@media screen and (min-width: 768px) {
  .product-detail__seller-contact-inner {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
}

@media screen and (min-width: 768px) {
  .product-detail__contact-form {
    padding: 0 50px;
  }
}

.product-detail__contact-form-title {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 20px;
}

@media screen and (min-width: 1080px) {
  .product-detail__contact-form-title{
    margin-bottom: 40px;
  }
}

/* ============================= */
/*  問い合わせフォーム            */
/* ============================= */
.product__contact-form {
  margin-top: 20px;
}

.product__contact-form input {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--gray-color);
  font-size: 14px;
  background: var(--white-color);
  margin-top: 10px;
}

.product__contact-form textarea {
  width: 100%;
  height: 150px;
  padding: 10px;
  border: 1px solid var(--gray-color);
  font-size: 14px;
  background: var(--white-color);
  margin-top: 10px;
  resize: vertical;
}

.form-group label {
  color: var(--primary-color);
  font-weight: bold;
}

.privacy-policy-label {
  margin-top: 20px;
  text-align: center;
  font-size: 12px;
  line-height: 1.8;
}

.privacy-policy-label a {
  color: var(--primary-color);
  font-weight: 500;
}

.required {
  font-size: 14px;
  margin-left: 20px;
  color: var(--accent-color);
  font-weight: bold;
}

/* .product__contact-form-btn {
  max-width: 500px;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--primary-color);
  background: var(--white-color);
  padding: 15px 0;
  color: var(--primary-color);
  font-weight: 600;
  margin-left: auto;
  margin-right: auto;
}
 */
.wpcf7-spinner {
  display: none;
}

.contact__kv {
  padding: 50px 10px;
  background: var(--primary-color);
}

.contact__kv-contents-title {
  font-size: 24px;
  font-weight: 500;
  color: var(--white-color);
  text-align: center;
}

@media screen and (min-width: 1080px) {
  .contact__kv-contents-title {
    font-size: 30px;
  }
}

.product__contact-form-btn {
  max-width: 500px;
  margin: 20px auto 0 auto;
}

.product__contact-form-btn button {
  width: 100%;
  padding: 15px 0;
  border: 1px solid var(--primary-color);
  background: var(--white-color);
  color: var(--primary-color);
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
}

#submitBtn:disabled {
  background-color: #ccc; /* グレー */
  color: #666;           /* 文字も薄く */
  cursor: not-allowed;   /* 禁止マーク */
  opacity: 0.7;          /* 少し薄く */
}



/* ============================= */
/*  フッター                      */
/* ============================= */
.footer {
  background: var(--primary-color);
  padding: 20px 10px;
}

.footer__title {
  font-size: 24px;
  font-weight: 500;
  color: var(--white-color);
  text-align: center;
}

.footer__company-info {
  padding: 0 40px;
  margin-top: 10px;
  color: var(--white-color);
}

.footer__company-name {
  margin-bottom: 10px;
}

.footer__company-link {
  display: flex;
  justify-content: center;
}

.footer__company-link-img {
  width: 15px;
  height: 15px;
  margin-left: 5px;
}

.footer__address {
  text-align: center;
}

.footer__categories {
  display: none;
}

.footer__navigation {
  padding: 40px 0;
}

.footer__navigation::before {
  content: "";
  display: block;
  height: 1px;
  background: var(--white-color);
  margin-bottom: 20px;
}

.footer__navigation::after {
  content: "";
  display: block;
  height: 1px;
  background: var(--white-color);
  margin-top: 20px;
}

.footer__nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  color: var(--white-color);
}

.footer__nav-item {
  margin-top: 5px;
}

.footer__nav-link {
  margin-top: 16px;
  position: relative;
}

@media screen and (min-width: 1080px) {
  .footer__nav-link {
    font-size: 14px;
  }
}

.footer__nav-link-line {
  margin-left: 10px;
  margin-right: 10px;
}

.footer__bottom {
  text-align: center;
  color: var(--white-color);
}

.footer__bottom::before {
  content: "";
  display: block;
  height: 1px;
  background: var(--white-color);
  margin-bottom: 20px;
  margin-top: 20px;
}

.footer__copyright {
  text-align: center;
  margin-top: 10px;
  color: var(--white-color);
}

/* ============================= */
/*  レスポンシブ                  */
/* ============================= */
/* ========== レスポンシブ ========== */
@media (min-width: 1080px) {
  .site-header__top {
    padding: 10px 50px;
  }
  .site-header__top-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }
  .site-header__hamburger {
    display: none;
  }
  .site-header__nav {
    display: flex;
  }
}
@media screen and (min-width: 1080px) {
  .site-header__hamburger {
    display: none;
  }
}
@media (max-width: 1080px) {
  /* .site-header__bottom {
    flex-direction: column;
    align-items: stretch;
    padding: 0.7rem 1rem;
  } */
  .site-header__top-right {
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    margin-top: 0.5rem;
  }
  .site-header__bottom {
    align-items: flex-start;
  }
  .nav {
    position: static;
    width: 100%;
    background: #fff;
    box-shadow: none;
    padding: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }
  /* .nav--open {
    display: flex !important;
  } */
  .nav__list--border {
    flex-direction: column;
    width: 100%;
  }
  .nav__list--border .nav__item:not(:last-child)::after {
    content: none;
  }
  .nav__list--border .nav__link {
    width: 100%;
    padding: 1rem 0.5rem;
    border-bottom: 1px solid #eee;
  }
}
@media (max-width: 1080px) {
  .site-header__top {
    height: 80px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: relative;
  }
  .site-header__top-left {
    flex: 1;
  }
  .site-header__contact-info {
    display: none;
  }
  /* .site-header__top-right {
    display: none;
  } */
  /* .site-header__bottom {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 2000;
    transition: opacity 0.2s;
    opacity: 0;
    pointer-events: none;
  }
  .site-header__bottom.nav-opened {
    display: block;
    opacity: 1;
    pointer-events: auto;
    background: var(--primary-color);
    color: var(--white-color);
    height: 100vh;
  } */
  .site-header__bottom {
    /* display: none; */
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: var(--primary-color);
    z-index: 2000;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0 1rem;    /* 上下パディングは nav-opened で付与 */
    transition: opacity 0.3s ease, max-height 0.3s ease, padding 0.3s ease;
  }
  .site-header__bottom.nav-opened {
    /* display: block; */
    opacity: 1;
    height: 100vh;
    background: var(--primary-color);
    color: var(--white-color);
    pointer-events: auto;
    padding: 0.7rem 1rem; /* 上下パディングも復活 */
    transition: opacity 0.3s ease, max-height 0.3s ease, padding 0.3s ease;

  }

}

/* @media (min-width: 1080px) {
  .top__kv-search-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    height: 60px;
  }

  .top__kv-search-row-top {
    max-width: 510px;
    height: 100%;
    min-width: 420px;
  }

  .top__kv-search-row {
    flex-direction: column;
    margin-bottom: 0;
    margin-right: 0;
    margin-left: 0;
  }
  .top__kv-search-row {
    flex: 0 1 180px;
    min-width: 140px;
    gap: 0;
    height: 100%;
  }
  .top__kv-search-row:first-child {
    flex: 2 1 320px;
    min-width: 180px;
    max-width: 300px;
    height: 100%;
  }

  .top__kv-search-row .top__kv-search-input {
    width: 100%;
    height: 100%;
  }

  .top__kv-search-button {
    width: 100%;
    min-width: 100px;
    padding: 0.7rem 2.2rem;
    margin-top: 0;
    align-self: flex-end;
    height: 100%;
  }
} */

@media (min-width: 1080px) {
  .top__kv-search-form {
    display: flex;
    /* flex-wrap: wrap; */
    justify-content: space-between;
    align-items: flex-end;
    /* max-width: 100%; */
    height: 60px;
  }

  .top__kv-search-row-top {
    max-width: 510px;
    height: 100%;
    min-width: 360px;
  }

  .top__kv-search-row {
    flex-direction: column;
    margin-bottom: 0;
    margin-right: 0;
    margin-left: 0;
  }
  .top__kv-search-row {
    /* flex: 0 1 180px; */
    min-width: 150px;
    gap: 0;
    height: 100%;
  }
  .top__kv-search-row:first-child {
    /* flex: 2 1 320px; */
    min-width: 220px;
    max-width: 300px;
    height: 100%;
  }

  .top__kv-search-input,
  .top__kv-search-select{
    width: 100%;
    height: 100%;
  }

  .top__kv-search-button {
    width: 100%;
    /* min-width: 100px; */
    /* padding: 0.7rem 2.2rem; */
    margin-top: 0;
    align-self: flex-end;
    height: 100%;
  }
}

@media (min-width: 1200px) {
    .top__kv-search-row-top {
    max-width: 510px;
    height: 100%;
    min-width: 350px;
  }

    .top__kv-search-row {
    min-width: 195px;
    gap: 0;
    height: 100%;
  }


}



/* =============================
/*  省力化事例 Swiper カルーセル   */
/* ============================= */
/* ========== 省力化事例 Swiper カルーセル ========== */
@media screen and (min-width: 1080px) {
  .top__case-swiper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
  }
}

.top__case-content {
  margin-top: 20px;
}

.top__case-title {
  font-size: 24px;
  color: var(--primary-color);
  font-weight: 500;
}

.top__case-content-title {
  font-size: 20px;
  font-weight: 500;
}

.top__case-content-industry,
.top__case-content-category {
  font-size: 14px;
  margin-top: 10px;
}

.top__case-img {
  width: 100%;
  aspect-ratio: 6 / 4;
  object-fit: cover;
}

.top__case-detail-btn-wrapper {
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  width: 355px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--white-color);
  border: 1px solid var(--primary-color);
}

.top__case-detail-btn {
  color: var(--primary-color);
  font-weight: 500;
}

@media (max-width: 1080px) {
  /* .top__case-swiper {
    position: relative;
    width: 100%;
    padding-bottom: 48px;
    margin-top: 20px;
  }
  .top__case-swiper .swiper-wrapper {
    width: 100%;
  }
  .top__case-swiper .swiper-slide {
    width: 90%;
    margin: 0 auto;
    box-sizing: border-box;
  } */

  .top__case-controls {
    display: flex;
    align-items: center;
    justify-content: center; /* 中央に寄せる */
    gap: 100px; /* ボタンとページネーションの間隔 */
    margin-top: 30px; /* スライダーとの距離 */
    position: relative;
    padding: 10px 0;
    height: 40px;
    overflow: visible;
  }

  .top__case-pagination {
    position: absolute;
    top: 2px;
  }

  .top__case-button-prev,
  .top__case-button-next {
    width: 10px;
    height: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    cursor: pointer;
    /* margin-top: 10px; */
    transform: rotate(45deg);
    position: absolute;
    top: 50%;
    z-index: 10;
  }

  .top__case-button-prev {
    border-top: none;
    border-right: none;
    left: 20%;
  }

  .top__case-button-next {
    border-bottom: none;
    border-left: none;
    right: 20%;
  }
}
*/

/* ============================= */
/*  js   */
/* ============================= */

.js_body.is-hidden {
  overflow: hidden;
}

.nav-contact-btn {
  display: none;
}

.site-header__bottom.nav-opened .nav-contact-btn {
  display: block;
  margin: 1.2rem 0 0 0;
  text-align: center;
  width: 100%;
}


.site-header__hamburger-bar {
  transition: top 0.24s, transform 0.24s, opacity 0.24s;
}

.site-header__hamburger.is-active .site-header__hamburger-bar.bar01 {
  top: 50%;
  transform: translateY(-50%) rotate(135deg);
  background: var(--white-color);
}
.site-header__hamburger.is-active .site-header__hamburger-bar.bar02 {
  opacity: 0;
}
.site-header__hamburger.is-active .site-header__hamburger-bar.bar03 {
  top: 50%;
  transform: translateY(-50%) rotate(-135deg);
  background: var(--white-color);
  width: 50px;
}

@media (max-width: 1080px) {
  .site-header__hamburger {
    z-index: 3000;
  }
}

.js_nav {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s;
}

@media screen and (min-width: 1080px) {
  .js_nav {
    opacity: 1;
    pointer-events: auto;
  }
}

.js_nav.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* END */
