/* =======================================
共通
======================================== */
*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box
}

.scroll-header.page {
  display: block !important;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

.page-sec-ttl-box h3 {
  position: relative;
  line-height: 1.4;
  font-weight: 700;
  display: table;
  font-size: 40px;
  background: linear-gradient(90deg, #4276ba 0%, #6dd1e7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  padding-bottom: 40px;
  margin-bottom: 40px;
}

.page-sec-ttl-box h3::after {
  content: '';
  display: block;
  width: 100px;
  height: 1px;
  position: absolute;
  bottom: 0;
  background: #4276ba;
}

/* 例：全体ラッパーが transform されてる場合 */
.wrapper,
.main,
.page-wrap {
  transform: none !important;
}

@media (max-width: 991px) {
  .page-sec-ttl-box h3 {
    font-size: 32px;
  }

}

@media (max-width: 768px) {
  .page-sec-ttl-box h3 {
    font-size: 26px;
    padding-bottom: 30px;
    margin-bottom: 30px;
  }

}

/* =======================================
下層メインタイトル
======================================== */

.page-title {
  position: relative;
  font-size: 45px;
  font-weight: 700;
  line-height: 1.2;
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.page-title::before {
  content: '';
  position: relative;
  top: 30px;
  flex-shrink: 0;
  display: inline-block;
  width: 40px;
  height: 1px;
  background-color: #fd3d11;
}


br.sp {
  display: none;
}


.main-ttl-wrap {
  position: relative;
  margin-bottom: 100px;
  margin-top: 100px;
}

.main_ttl {
  position: relative;
}

.main-bg-wrap {
  background: linear-gradient(-45deg, #fd3d11, #fd6f11);
}

.main_ttl .bg {
  margin-left: auto;
  height: 400px;
  bottom: 0;
  right: 0;
  z-index: -1;
  width: 95%;
}

.main_ttl>.bg img {
  max-width: inherit;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main_ttl_text_box {
  display: block;
  transform: translateY(-50%);
  top: calc(50% - 15px);
  align-items: center;
  position: absolute;
  justify-content: center;
  z-index: 100;
  color: #fff;
}

.main_ttl_text_box {
  display: block;
  left: 20px;
  transform: translateY(-50%);
  top: 50%;
  align-items: center;
  position: absolute;
  justify-content: center;
}

.main-ttl-bg {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 400px;
  height: auto;
  margin: 0 auto;
}

.main_ttl_text_box_wrap {
  position: relative;
  z-index: 100;
  background-color: #fff;
}

.fs-en-wrap {
  background-color: #fff;
  display: table;
  padding: 15px;
  margin-bottom: 15px;
}

.main_ttl .fs-en {
  line-height: 1;
  font-weight: 700;
  display: table;
  font-size: 60px;
  white-space: nowrap;
  line-height: 1;
  background: linear-gradient(90deg, #4276ba 0%, #6dd1e7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-family: "Cinzel", serif;
}

.main_ttl .txt {
  font-size: 30px;
  font-weight: 700;
  color: #191970;
  line-height: 1;
  display: table;
  background-color: #fff;
  padding: 15px;
  white-space: nowrap;
}


.detail-btn-list .flex-box {
  display: flex;
  justify-content: center;
  gap: 0 20px;
}

.main_ttl {
  position: relative;
  overflow: hidden;
}

/* 背景(.bg)より上、タイトルより下に置く */
.main_ttl>.bg {
  position: relative;
  z-index: 1;
}

.main_ttl h2 {
  z-index: 3;
}

.main_ttl .bg img {
  width: 100%;
  height: 100%;
  object-position: 0 100%;
}

.main_ttl .bg img {
  object-fit: cover;
  font-family: 'object-fit: cover;';
}

/* まず「器」を作る（ここが無いとbgが見えない） */
.main_ttl_text_box .js-reveal {
  position: relative;
  overflow: hidden;
  display: inline-block;
  /* テキスト幅で切る */
  vertical-align: top;
  /* 下の隙間対策 */
}

/* 既存の白背景はbgに任せる */
.main_ttl_text_box .fs-en-wrap,
.main_ttl_text_box .txt {
  background: transparent !important;
}

/* paddingはそのまま活かす */
.main_ttl_text_box .fs-en-wrap {
  padding: 15px;
  margin-bottom: 15px;
}

.main_ttl_text_box .txt {
  padding: 15px;
  line-height: 1;
}

/* 白カーテン本体（これが白背景） */
.main_ttl_text_box .reveal-bg {
  position: absolute;
  inset: 0;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  z-index: 0;
}

/* 文字は必ず前 */
.main_ttl_text_box .reveal-text {
  position: relative;
  z-index: 1;
  display: inline-block;
}

/* カーテンの器 */
.main_ttl_text_box .js-reveal {
  position: relative;
  overflow: hidden;
  display: inline-block;
  /* ← テキスト幅で切る */
  vertical-align: top;
  /* ← 下の余白対策 */
}

/* 既存の白背景はカーテンに任せるので無効化 */
.main_ttl_text_box .fs-en-wrap,
.main_ttl_text_box .txt {
  background: transparent;
}

/* padding は器側に残す（見た目維持） */
.main_ttl_text_box .fs-en-wrap {
  padding: 15px 15px 10px;
  margin-bottom: 15px;
  display: inline-block;
  /* ← tableやめる（安定） */
}

.main_ttl_text_box .txt {
  padding: 15px;
  display: inline-block;
  /* ← tableやめる（安定） */
}

/* カーテン本体 */
.main_ttl_text_box .reveal-bg {
  position: absolute;
  inset: 0;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  z-index: 0;
  will-change: transform;
}

/* 文字は必ず前面 */
.main_ttl_text_box .fs-en,
.main_ttl_text_box .jp {
  position: relative;
  z-index: 1;
  display: inline-block;
}


/* ここで縦並びを確定させる（横並び潰す） */
.main_ttl_text_box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* 左揃え */
  gap: 15px;
  /* 行間。必要なら調整 */
}

/* table表示が横並びの原因になるので無効化 */
.main_ttl_text_box .fs-en-wrap,
.main_ttl_text_box .txt {
  display: inline-block;
  /* ←白箱をテキスト幅に */
  width: fit-content;
  /* 念のため */
  margin: 0;
  /* 余計なズレ防止 */
}

@media (max-width: 1400px) {

  .main-bg-wrap {
    height: 300px;
  }

  .main_ttl .fs-en {
    font-size: min(calc(45px + (60 - 45) * (100vw - 992px) / (1500 - 992)),
        60px);
  }

  .main_ttl .txt {
    font-size: min(calc(20px + (30 - 20) * (100vw - 992px) / (1500 - 992)),
        30px);
  }

  .main-ttl-bg {
    width: min(calc(300px + (400 - 300) * (100vw - 992px) / (1500 - 992)),
        400px);
  }


}

@media (max-width: 991px) {
  .main_ttl {
    margin-bottom: 80px;
  }

  .main-ttl-wrap {
    margin-bottom: min(calc(60px + (80 - 60) * (100vw - 320px) / (991 - 320)),
        80px);
  }

  .main-bg-wrap {
    height: 220px;
  }

  .main_ttl .fs-en {
    font-size: min(calc(30px + (45 - 30) * (100vw - 320px) / (991 - 320)),
        45px);
  }

  .main_ttl .txt {
    font-size: 20px;
  }

  .main-ttl-bg {
    width: min(calc(260px + (300 - 260) * (100vw - 320px) / (991 - 320)),
        260px);
  }

  .main_ttl>.bg {
    height: min(calc(220px + (300 - 220) * (100vw - 320px) / (991 - 320)),
        300px);
  }

  .main_ttl h2 {
    display: block;
    left: 0;

  }
}

@media (max-width: 768px) {
  .main_ttl {
    margin-bottom: 60px;
  }

  .main-ttl-wrap {
    margin-top: 80px;
  }

}

@media (max-width: 480px) {
  .main-bg-wrap {
    height: 200px;
  }

  .main_ttl .bg {
    margin-left: auto;
    bottom: 0;
    right: 0;
    z-index: -1;
    width: 90%;
  }

  .main_ttl {
    margin-bottom: 50px;
    margin-top: 70px;
  }

  .main_ttl .fs-en {
    font-size: 30px;
  }

  .main_ttl .txt {
    font-size: 20px;
  }

}

/* =======================================
パンくず
======================================== */
.breadcrumb_wrap {
  position: static;
  bottom: 20px;
  padding-top: 20px;
  padding-right: 20px;
  display: table;
  margin-left: auto;
  margin-right: 0;
  text-align: right;
  right: calc(15px + 50 * (100vw - 320px) / 1180);
}

.breadcrumb_wrap .panlist {
  font-weight: 500;
  font-size: 11px;
  line-height: 1.2;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  overflow-y: hidden;
  overflow-x: auto;
}

.breadcrumb_wrap .panlist>li {
  display: flex;
  align-items: center;
}


.breadcrumb_wrap .panlist>li {
  font-size: 11px;
}

.breadcrumb_wrap .panlist>li>a {
  color: #4276ba;
  text-decoration: underline;
  white-space: nowrap;
}

.breadcrumb_wrap .panlist>li.active {
  color: #000;
  text-decoration: none;
  pointer-events: none;
}

.breadcrumb_wrap .panlist>li+li:before {
  content: ">";
  letter-spacing: normal;
  display: block;
  font-size: 11px;
  padding: 0 0.5em;
}

.breadcrumb_wrap .panlist>li+li:before {
  transform: translateY(-0.1em);
}

/* =======================================
車両紹介
======================================== */
.truck-head-area h3 {
  color: #4276ba;
  text-align: center;
  line-height: 1.4;
  font-size: 32px;
  margin-bottom: 20px;
  font-weight: 700;
  padding-bottom: 30px;
  margin-bottom: 30px;
  position: relative;
}

.truck-head-area h3::after {
  content: '';
  display: block;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 1px;
  position: absolute;
  bottom: 0;
  background: #4276ba;
}

.truck-head-area p {
  text-align: center;
  font-size: 18px;
  line-height: 2;
}


.fleet__bar {
  width: 6px;
  height: 36px;
  background: linear-gradient(180deg, #4276ba 0%, #6dd1e7 100%);
}

.fleet__title {
  font-weight: 700;
  font-size: 30px;
  letter-spacing: .04em;
}

.feet__title-box {
  margin-bottom: 40px;
}

.fleet__card {
  overflow: hidden;
  border: none;
  border-radius: 0;
  background: #fff;
  padding-right: 20px;
}

.card-body {
  padding: 0;
  border: 1px solid #4276ba;
  border-bottom: none;
}

.fleet__table th,
.fleet__table td {
  font-size: 18px;
  line-height: 1;
  padding-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #4276ba;
  border-color: rgba(15, 23, 42, .08);
}

.fleet__table th {
  font-weight: 700;
  width: 70%;
}

.fleet__table td {
  color: #0b2c6a;
}

.fleet__table tbody tr:hover {
  background: rgba(14, 165, 233, .06);
}

.fleet__total {
  background: linear-gradient(90deg, rgba(29, 78, 216, .10), rgba(14, 165, 233, .08));
}

.fleet__total th {
  color: #0b2c6a;
  font-weight: 900;
}

.fleet__totalNum {
  font-size: 26px;
  font-weight: 900;
  color: #1d4ed8;
  letter-spacing: .02em;
}

.fleet__note {
  border-top: 1px solid rgba(15, 23, 42, .08);
  background: rgba(248, 250, 252, .9);
  display: flex;
  align-items: center;
  gap: 10px;
}


/* ===== Image ===== */
.fleet__imgWrap {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}

.fleet__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}

.fleet__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(15, 23, 42, .10);
  font-weight: 800;
  letter-spacing: .08em;
  color: #0b2c6a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.fleet__badgeDot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(180deg, #1d4ed8 0%, #0ea5e9 100%);
  box-shadow: 0 0 0 5px rgba(29, 78, 216, .14);
}

.truck-table-box {
  margin-top: 70px;
}

.fleet__table {
  --bs-table-bg: transparent;
  --bs-table-accent-bg: transparent;
}

/* 青白ストライプ：セルに色を入れる（確実に出る） */
.fleet__table tbody tr:nth-child(odd)>th,
.fleet__table tbody tr:nth-child(odd)>td {
  background-color: #eaf3ff !important;
}

.fleet__table tbody tr:nth-child(even)>th,
.fleet__table tbody tr:nth-child(even)>td {
  background-color: #ffffff !important;
}

/* hover */
.fleet__table tbody tr:hover>th,
.fleet__table tbody tr:hover>td {
  background: none !important;
}

.table-hover>tbody>tr:hover>* {
  --bs-table-color-state: none !important;
  --bs-table-bg-state: none !important;
}

.fleet__table tbody tr:nth-child(odd):hover>th,
.fleet__table tbody tr:nth-child(odd):hover>td {
  background-color: #eaf3ff !important;
}

/* 合計行：濃紺 */
.fleet__table tbody tr.fleet__total>th,
.fleet__table tbody tr.fleet__total>td {
  background-color: #1e3a8a !important;
  color: #fff !important;
}

.fleet__table tbody tr.fleet__total .fleet__totalNum {
  color: #fff !important;
}

/* ===== 青白ストライプ ===== */
.fleet__table tbody tr:nth-child(odd) {
  background-color: #eaf3ff;
  /* 薄い青 */
}

.fleet__table tbody tr:nth-child(even) {
  background-color: #ffffff;
  /* 白 */
}

/* ホバーは少し濃く */
.fleet__table tbody tr:hover {
  background: none;
}

/* ===== 合計行を濃紺に ===== */
.fleet__table .fleet__total {
  background-color: #1e3a8a !important;
  color: #fff;
}

.card-body .fleet__table .fleet__total:hover,
.card-body .fleet__table tbody .fleet__total:hover>th,
.card-body .fleet__table tbody .fleet__total:hover>td {
  background-color: #1e3a8a !important;
}

.fleet__table .fleet__total th,
.fleet__table .fleet__total td {
  color: #fff !important;
  font-weight: 700;
}

.fleet__table .fleet__totalNum {
  color: #ffffff !important;
}

@media (max-width: 991.98px) {
  .fleet__imgWrap {
    min-height: 240px;
  }
}

.category-link-area {
  margin-top: 80px;
  position: relative;
}

.category-link-area::after {
  content: '';
  width: 100%;
  background-size: cover;
  height: 800px;
  display: block;
  position: absolute;
  background-position: right top;
  top: -40px;
  right: 0;
  z-index: -1;
  background-image: url('../images/common/feature-bg.png');
}

.category-link-area .flex-box {
  margin: 0 -15px;
  gap: 20px 0;
  flex-wrap: wrap;
  display: flex;
}

.category-link-area .category-list {
  width: 20%;
  padding: 0 15px;
}

.category-link-area p.text {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  line-height: 2;
}

.circle-right {
  width: 25px;
  display: block;
  font-size: 0;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.category-link-area .category-list {
  font-size: 16px;
}

.category-link-box {
  position: relative;
  overflow: hidden;
}

/* ▼ 通常の背景 */
.category-link-box::before,
.category-link-box::after {
  content: "";
  position: absolute;
  inset: 0;
  transition: opacity 0.7s;
}

/* ▼ ノーマル状態のグラデ */
.category-link-box::before {
  background: linear-gradient(90deg, #4276ba 0%, #6dd1e7 100%);
  opacity: 1;
}

/* ▼ ホバー時に見せたいグラデ */
.category-link-box::after {
  background: linear-gradient(-90deg, #4276ba 0%, #6dd1e7 100%);
  opacity: 0;
}

/* ▼ hoverで切り替え */
.category-link-box:hover::after {
  opacity: 1;
}

/* a タグに入っているテキストのため */
.category-link-box button {
  position: relative;
  z-index: 2;
  width: 100%;
  font-size: 20px;
  padding: 15px 0;
  display: flex;
  gap: 0 20px;
  align-items: center;
  justify-content: center;
}

.category-link-box a {
  position: relative;
  z-index: 2;
  width: 100%;
  font-size: 20px;
  padding: 15px 0;
  display: flex;
  gap: 0 20px;
  align-items: center;
  justify-content: center;
}

.category-link-area p.text {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}

.circle-right {
  width: 20px;
  display: block;
  font-size: 0;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
}

.truck-list-area {
  margin-top: 40px;
  position: relative;
  padding-bottom: 120px;
}

.truck-list-wrap {
  padding-bottom: 50px;
}

.truck-list-wrap .row {
  gap: 50px 0;
}


.truck-list-area a {
  display: block;
  transition: 0.7s;
  cursor: pointer;
}

.truck-list-area a:hover {
  opacity: 0.8;
}

.truck-list-area .cat-name {
  color: #fff;
  padding: 5px;
  margin-left: -10px;
  margin-top: -10px;
  display: table;
  position: relative;
  z-index: 2;
  font-size: 14px;
  margin-bottom: 10px;
  background-color: var(--red-color);
}

.truck-list-area .truck-img img {
  width: 100%;
  height: auto;
  /* 縦を切らない */
  max-height: 200px;
  /* 縦だけ制限 */
  object-fit: contain;
  /* 絶対に切らない */
  display: block;
}

.truck-text-box {
  margin-top: 15px;
}

.truck-text-box h4 {
  font-size: 20px;
  text-align: center;
  font-weight: 700;
  margin-bottom: 10px;
}

.truck-text-box .text {
  font-size: 16px;
  margin-bottom: 10px;
}



div.paging {
  text-align: center;
  font-size: 16px;
  margin-top: 20px;
  line-height: 1.4em;
  font-family: "Outfit", sans-serif;
  font-weight: 400;
}

div.paging span.current,
div.paging span.paging-text {
  margin: 0px 0.5px;
  color: #333;
  display: inline;
  zoom: 1;
  display: inline-block;
  overflow: hidden;
  text-decoration: none;
}

div.paging span.current,
div.paging span.paging-text {
  margin: 0px 0.5px;
  color: #333;
  display: inline;
  zoom: 1;
  display: inline-block;
  overflow: hidden;
  text-decoration: none;
}

div.paging span.paging-text a {
  padding: 5px 8.5px;
  display: block;
  color: #333;
  background-color: #eff2f4;
  border-radius: 5px;
}

div.paging span.current {
  background-color: #4276ba;
  color: #fff;
  zoom: 1;
  padding: 5px 8.5px;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  border-radius: 5px;
}

div.paging a,
div.paging a:visited {
  text-decoration: underline !important;
}

div.paging a:hover {
  opacity: 1 !important;
  background-color: #4276ba !important;
  color: #fff !important;
}


@media (max-width: 1450px) {

  .category-link-area .category-list {
    width: 25%;
    padding: 0 15px;
  }
}

@media (max-width: 1200px) {
  .category-link-area .category-list {
    width: 33.33333%;
  }

  .category-link-area::after {
    content: '';
    width: 100%;
    background-size: cover;
    height: 600px;
    display: block;
    position: absolute;
    background-position: right top;
    right: 0;
    z-index: -1;
    background-image: url('../images/common/feature-bg.png');
  }
}

@media (max-width: 991px) {
  .category-link-area .category-list {
    width: 50%;
    padding: 0 15px;
  }

  .category-link-box a {
    width: 100%;
    padding: 15px 0;
    display: flex;
    gap: 0 15px;
    position: relative;
    align-items: center;
    justify-content: center;
  }

  .fleet__card {
    overflow: hidden;
    border: none;
    border-radius: 0;
    background: #fff;
    padding-right: 0;
  }

  .truck-head-area .sp-order-2 {
    order: 2;
  }
}

@media (max-width: 768px) {
  .truck-head-area h3 {
    color: #4276ba;
    text-align: center;
    line-height: 1.4;
    font-size: 26px;
    margin-bottom: 20px;
    font-weight: 700;
    padding-bottom: 30px;
    margin-bottom: 30px;
    position: relative;
  }

  .truck-list-area .truck-img img {
    width: 100%;
    max-height: auto;
    height: auto;
  }

  .truck-head-area p {
    text-align: center;
    font-size: 16px;
  }

  .fleet__title {
    font-size: 26px;
  }

  .fleet__table th,
  .fleet__table td {
    font-size: 16px;
  }
}

@media (max-width: 550px) {

  .category-link-area p.text {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
  }

  .category-link-area .category-list {
    width: 50%;
    padding: 0 10px;
  }

  .category-link-area .flex-box {
    margin: 0 -10px;
    gap: 20px 0;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .truck-head-area h3 {
    color: #4276ba;
    text-align: center;
    line-height: 1.4;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 700;
    padding-bottom: 25px;
    margin-bottom: 25px;
    position: relative;
  }

  .truck-list-area {
    padding-bottom: 80px;
  }

  .truck-head-area p {
    text-align: left;
    font-size: 16px;
  }

  .truck-table-box {
    margin-top: 50px;
  }

  .truck-list-area h3 {
    font-size: 24px;
    text-align: center;
    font-weight: 700;
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 50px;
  }

  .truck-list-area h3::after {
    position: absolute;
    height: 4px;
    bottom: 0;
    background-color: var(--red-color);
    left: 50%;
    width: 80px;
    content: '';
    transform: translateX(-50%);
  }

  .truck-list-area .truck-img img {
    width: 100%;
    height: 220px;
    max-height: 220px;
  }

  .category-link-area .flex-box {
    display: block;
  }

  .category-link-area .category-list {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .category-link-area .category-list+.category-list {
    margin-top: 20px;
  }

  .category-link-box button {
    width: 100%;
    padding: 12px 0;
    display: flex;
    gap: 0 15px;
    position: relative;
    align-items: center;
    justify-content: center;
    font-size: 16px;
  }

  .category-link-box a {
    width: 100%;
    padding: 12px 0;
    display: flex;
    gap: 0 15px;
    position: relative;
    align-items: center;
    justify-content: center;
    font-size: 16px;
  }

  .truck-text-box h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
  }

  .truck-text-box .text {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .category-link-area {
    margin-top: 60px;
    position: relative;
  }

  .fleet__title {
    font-size: 22px;
  }

  .fleet__table th,
  .fleet__table td {
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .fleet__totalNum {
    font-size: 22px;
    font-weight: 900;
  }

  .truck-list-wrap .row {
    gap: 40px 0;
  }

  div.paging {
    margin-top: 0;
  }
}



/* =======================================
事業内容
======================================== */
.strengths-area {
  padding: 0 0 120px;
}

.strengths__ttl {
  position: relative;
  padding-left: 18px;
  font-weight: 700;
  font-size: clamp(24px, 2.2vw, 34px);
  margin: 0 0 18px;
}

.strengths__ttlBar {
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 1.2em;
  background: #1e3a8a;
  transform: translateY(-50%);
  border-radius: 2px;
}

#strengthVisual {
  position: sticky;
  top: 110px;
  z-index: 1;
}

.strengths__visual {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #dbe8f6;
  position: relative;
  overflow: hidden;
}

.strengths__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .4s ease;
}

.strengths__img.is-show {
  opacity: 1;
}

.strengths__item {
  padding: 0 0 45px;
  margin-bottom: 45px;
  border-bottom: 1px solid #4276ba;
}

.strengths__item:last-child {
  padding: 0;
  margin-bottom: 0;

}

.strengths__item:last-child {
  border-bottom: 0;
}

.strengths__itemHead {
  display: flex;
  gap: 14px;
  align-items: baseline;
  margin-bottom: 20px;
}

.strengths__no {
  font-weight: 700;
  font-family: "Cinzel", serif;
  font-size: 24px;
  color: #4276ba;
}

.strengths__itemTtl {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
}

.business__catch {
  display: inline-block;
  background: #0b2c6a;
  color: #fff;
  padding: 10px 14px;
  margin: 0 0 20px;
  line-height: 1.4;
  font-size: 20px;
  font-weight: 700;
}

.strengths__desc {
  margin: 0;
  line-height: 2;
  font-size: 18px;
}

.business-photo-list-area {
  padding: 120px 0;
  background-color: #f4f4f4;
}

.business-photo-list-area .head-text {
  font-size: 16px;
}

.business-photo-list-area .photo-list-box {
  margin-top: 60px;
  position: relative;
  gap: 25px 0;
}

.business-photo-list {
  position: relative;
}

.business-photo-list .text {
  position: absolute;
  bottom: 0;
  width: calc(100% - 30px);
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: #4276ba;
  line-height: 1.5;
  padding: 10px;
  z-index: 2;
  background-color: rgba(255, 255, 255, 0.7);
}

.service-area {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom center;
  background-image: url('../images/top/business-obj.png');
  padding: 200px 0;
  position: relative;
  padding: 120px 0;
}

.service-box {
  padding: 0 0 45px;
  margin-bottom: 45px;
  border-bottom: 1px solid #4276ba
}

.service-box .text {
  font-size: 16px;
}

.service-box:last-child {
  padding: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.service__itemTtl {
  font-size: 24px;
  font-weight: 700;
  color: #4276ba;
  margin-bottom: 30px;
}

.strengths-img-sp {
  display: none;
}

@media (max-width: 991px) {
  #strengthVisual {
    position: relative;
    top: auto;
  }

  .strengths__visual {
    aspect-ratio: 16 / 10;
  }

  .strengths__desc {
    margin: 0;
    line-height: 2;
    font-size: 16px;
  }

  .strengths-area {
    padding: 0 0 100px;
  }

  .business-photo-list-area {
    padding: 100px 0;
    background-color: #f4f4f4;
  }

  .service-area {
    padding: 100px 0;
  }

  .strengths__right {
    display: none;
  }

  .strengths-img-sp {
    display: block;
    margin-bottom: 25px;
  }
}

@media (max-width: 480px) {
  .strengths-area {
    padding: 0 0 80px;
  }

  .strengths__no {
    font-size: 20px;
  }

  .strengths__itemTtl {
    font-size: 20px;
  }

  .service__itemTtl {
    font-size: 20px;
  }

  .strengths__item {
    padding: 0 0 35px;
    margin-bottom: 35px;
    border-bottom: 1px solid #4276ba;
  }

  .business__catch {
    display: inline-block;
    background: #0b2c6a;
    color: #fff;
    padding: 10px 14px;
    margin: 0 0 20px;
    line-height: 1.4;
    font-size: 18px;
    font-weight: 700;
  }

  .business-photo-list-area {
    padding: 80px 0;
    background-color: #f4f4f4;
  }

  .business-photo-list-area .photo-list-box {
    margin-top: 40px;
  }

  .business-photo-list .text {
    position: absolute;
    bottom: 0;
    font-size: 20px;
    width: calc(100% - 30px);
  }

  .service-area {
    padding: 80px 0;
  }
}

/* =======================================
会社概要
======================================== */
.company-head-area {
  padding-bottom: 100px;
}
.company-head-area p {
  text-align: center;
  color:#4276ba;
  font-weight: 700;
  font-size: 30px;
}
.overview-area {
  padding-bottom: 120px;
}

.overview-area .page-sec-ttl-box h3 {
  padding-bottom: 0;
}

.overview-area .page-sec-ttl-box h3::after {
  content: none;
}

.overview-box>div {
  display: flex;
}

.overview-box>div dt {
  max-width: 200px;
  width: 100%;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  padding: 20px 0;
  border-top: 1px solid #4276ba;
  color: #4276ba;
  line-height: 1.8;
}

.overview-box>div dd {
  border-top: 1px solid #6dd1e7;
  max-width: calc(100% - 200px);
  width: 100%;
  line-height: 1.8;
  font-weight: 500;
  font-size: 18px;
  padding: 20px 20px;
}

.overview-box>div:last-child dt {
  border-bottom: 1px solid #4276ba;
}

.overview-box>div:last-child dd {
  border-bottom: 1px solid #6dd1e7;
}

.overview-box br.sp {
  display: none;
}

.logistics-base-area {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom center;
  background-image: url('../images/top/business-obj.png');
  background-color: #f4f4f4;
  padding: 200px 0;
  position: relative;
  padding: 120px 0;
  background-color: #f4f4f4;
}

.logistics-box {
  padding-bottom: 35px;
  margin-bottom: 35px;
  border-bottom: 1px solid #4276ba;
}

.logistics-box:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.logistics-box .text-box {
  background-color: #fff;
  padding: 20px;
  width: calc(100% + 60px);
  margin-left: -60px;
  margin-bottom: 30px;
}

.logistics-box .row {
  align-items: flex-end;
}

.office {
  font-size: 20px;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 10px;
}

.address {
  font-size: 18px;
}

.driver-recruitment-area {
  padding: 120px 0;
}

.driver-recruitment-area .head-text {
  padding: 20px;
  font-size: 16px;
  background-color: #e4f7ff;
}

.driver-recruitment-area .overview-box {
  margin-top: 80px;
}

@media (max-width: 991px) {
  .company-head-area p {
    font-size: 26px;
  }
  .overview-area {
    padding-bottom: 100px;
  }

  .overview-box>div dt {
    max-width: 140px;
    font-size: 16px;
  }

  .overview-box>div dd {
    font-size: 16px;
    padding: 20px 20px;
  }

  .overview-box>div dd {
    max-width: calc(100% - 140px);
  }

  .overview-box>div dd a span {
    font-size: 16px;
  }

  .logistics-base-area {
    padding: 100px 0;
    background-image: none;
  }

  .driver-recruitment-area {
    padding: 100px 0;
  }

}

@media (max-width: 768px) {
  .logistics-box .text-box {
    background-color: #fff;
    padding: 20px;
    width: calc(100% - 40px);
    margin-left: 20px;
    margin-top: -20px;
    margin-bottom: 0;
  }

  .driver-recruitment-area .head-text {
    padding: 15px;
    background-color: #e4f7ff;
  }

  .office {
    font-size: 18px;
  }

  .address {
    font-size: 16px;
  }

  .driver-recruitment-area .overview-box {
    margin-top: 40px;
  }
}
@media (max-width: 660px) {
  .company-head-area {
    padding-bottom:80px;
  }
  .company-head-area p {
    text-align: left;
    color:#4276ba;
    font-weight: 700;
    font-size: 20px;
  }
}
@media (max-width: 480px) {
  .overview-area {
    padding: 0px 0 80px;
    background-color: #fff;
  }

  .overview-box br.sp {
    display: block;
  }

  .overview-box>div dt {
    max-width: 110px;
    font-size: 14px;
  }

  .overview-box>div dd {
    max-width: calc(100% - 110px);
  }

  .overview-box>div dd {
    font-size: 14px;
    padding: 20px 10px;
  }

  .overview-box>div dd a span {
    font-size: 14px;
  }

  .logistics-base-area {
    padding: 80px 0;
    background-image: none;
  }

  .driver-recruitment-area {
    padding: 80px 0;
  }
}

/* =======================================
車両紹介詳細
======================================== */
.vehicle-area {
  padding-bottom: 200px;
}

.vehicle-area h3 {
  text-align: center;
  margin: 0 auto 50px;
}

.vehicle-area h3::after {
  left: 50%;
  transform: translateX(-50%);
}

.vehicle-area .text {
  margin-top: 20px;
  font-size: 18px;
}

.vehicle-detail-content {
  margin: 80px auto;
}

.vehicle-sub-text {
  font-size: 20px;
  line-height: 2;
}

.v-category {
  color: #fff;
  font-size: 16px;
  padding: 10px;
  line-height: 1;
  display: table;
  margin-bottom: 20px;
  background-color: #4276ba
}

@media (max-width: 991px) {
  .vehicle-area {
    padding-bottom: 120px;
  }

  .vehicle-sub-text {
    font-size: 18px;
  }

  .vehicle-detail-content {
    margin: 50px auto;
  }
}

@media (max-width: 468px) {
  .vehicle-area {
    padding-bottom: 80px;
  }

  .vehicle-sub-text {
    font-size: 16px;
  }
}

/* =======================================
お知らせ
======================================== */
.news-detail-area {
  padding-bottom: 200px;
}

.news-date {
  font-size: 16px;
  display: table;
  color: #fff;
  padding: 10px;
  line-height: 1;
  margin-bottom: 20px;
  background-color: #4276ba
}

.news-detail-area h3 {
  font-size: 30px;
  line-height: 1.4;
}

.gallery-swiper {
  position: relative;
  overflow: visible;
  /* 矢印を外に出す */
}

.item-gallery {
  margin-top: 30px;
}

/* 矢印：画像の左右外側 */
.gallery-nav {
  width: 52px;
  height: 52px;
}

.gallery-prev,
.gallery-next {
  top: 50%;
  transform: translateY(-50%);
}

/* デフォの矢印を大きめに（色は好きに） */
.gallery-nav::after {
  font-size: 26px;
}

/* ドット */
.gallery-pagination {
  position: static;
  /* 下に自然配置 */
  margin-top: 14px;
  text-align: center;
}

/* メモ（最大枚数など） */
.gallery-note {
  margin-top: 10px;
  display: inline-block;
  padding: 6px 10px;
  border: 2px solid #000;
  background: #fff200;
  font-size: 12px;
  font-weight: 700;
}

.detail-area .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #ccc;
  opacity: 1;
  margin: 0 6px !important;
  transition: all 0.3s ease;
}

.detail-area .swiper-pagination-bullet-active {
  background: #4276ba;
  transform: scale(1.2);
}

/* =========================
   Attached buttons
========================= */
.attached-btn-list {
  margin-top: 50px;
}

.attached-btn-list .flex-box {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.attached-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 260px;
  padding: 12px 16px;
  font-size: 20px;
  color: #fff;
  background-color: #4276ba;
  text-decoration: none;
  height: 60px;
  font-weight: 700;
  line-height: 1.2;
  transition: 0.7s;
}

.attached-btn:hover {
  background-color: #1e3a8a;
}

/* 右端の丸アイコン */
.contact-band__icon {
  background: #fff;
  display: grid;
  place-items: center;
}

.contact-band__icon img {
  width: 20px;
  display: block;
}

.attached-btn.pdf::after,
.attached-btn.word::before,
.attached-btn.excel::before {
  content: "";
  width: 18px;
  height: 18px;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* アイコンは手持ちに合わせて差し替え */
.attached-btn.pdf::after {
  background-color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-size: 18px;
  background-image: url("../images/common/pdf-icon.svg");
}

/* 戻る */
.back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  margin-top: 26px;
  margin: 30px auto 0;
  text-decoration: none;
  font-weight: 700;
  align-items: center;
  width: fit-content;
  min-width: 260px;
  padding: 12px 16px;
  font-size: 20px;
  color: #fff;
  background-color: #1e3a8a;
  text-decoration: none;
  height: 60px;
  font-weight: 700;
  line-height: 1.2;
  position: relative;
}

.back-btn:hover {
  background-color: #4276ba;
}

.back-red-circle-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.back-red-circle-icon img {
  width: 18px;
  height: auto;
  display: block;
}


/* =========================
  Gallery：1枚表示を強制
========================= */

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

#Gallery .swiper-slide {
  width: 100% !important;
  /* ←これが決定打 */
  flex: 0 0 100% !important;
  /* ←flex指定が当たってても潰す */
  max-width: 100% !important;
}

/* 念のため：画像も100% */
#Gallery img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-frame {
  position: relative;
  overflow: visible;
}

/* 外側は見せる */
#Gallery {
  overflow: hidden;
}

/* 中は切り抜く */

.gallery-prev {
  left: -64px;
}

.gallery-next {
  right: -64px;
}

.gallery-nav {
  z-index: 10;
}



#Gallery .main-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 30px;
  box-sizing: border-box;
  background: #f4f4f4;
}

#Gallery .main-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #f4f4f4;
  overflow: hidden;
  /* はみ出し防止 */
}

/* ★内側の表示領域（＝padding相当） */
#Gallery .main-image-wrap::before {
  content: "";
  position: absolute;
  inset: 30px;
  /* ←これが padding 30px 相当 */
  background: transparent;
  z-index: 1;
}

/* 画像はこの内側領域にピッタリ収める */
#Gallery .main-image-wrap img {
  position: absolute;
  inset: 30px;
  /* ←ここ重要：表示領域と同じ */
  width: calc(100% - 60px);
  height: calc(100% - 60px);
  object-fit: contain;
  /* 欠けない */
  object-position: center;
  display: block;
  z-index: 2;
}



.detail-area .swiper-button-prev::after,
.detail-area .swiper-button-next::after {
  display: none;
}

.detail-area .gallery-nav {
  width: 56px;
  height: 56px;
  background: #4276ba;
  /* ←円色 */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  transition: all 0.3s ease;
}

/* ホバー */
.detail-area .gallery-nav:hover {
  background-color: #6dd1e7;
}

.detail-area .gallery-nav {
  background-image: url("../images/common/view-arrow.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px auto;
}

/* 左は反転 */
.detail-area .gallery-prev {
  transform: translateY(-50%) scaleX(-1);
}

.gallery-prev {
  left: -64px;
}

.gallery-next {
  right: -64px;
}

.news-detail-area .text {
  margin-top: 20px;
  font-size: 18px;
}


@media (max-width: 1380px) {

  .detail-area .gallery-prev {
    left: -10px;
    /* 中に入れる */
  }

  .detail-area .gallery-next {
    right: -10px;
    /* 中に入れる */
  }

}

@media (max-width: 768px) {
  .news-detail-area {
    padding-bottom: 140px;
  }

  .news-detail-area h3 {
    font-size: 26px;
    line-height: 1.4;
  }

  .detail-area .gallery-nav {
    width: 46px;
    height: 46px;
  }

  .gallery-prev {
    left: -10px;
  }

  .gallery-next {
    right: -10px;
  }

  .news-detail-area .text {
    margin-top: 20px;
    font-size: 16px;
  }

  .attached-btn {
    font-size: 18px;
  }

  .back-btn {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .news-detail-area {
    padding-bottom: 100px;
  }

  .news-detail-area h3 {
    font-size: 20px;
    line-height: 1.4;
  }

  #Gallery .main-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    padding: 15px;
    box-sizing: border-box;
    background: #f4f4f4;
  }

  #Gallery .main-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #f4f4f4;
    overflow: hidden;
    /* はみ出し防止 */
  }

  /* ★内側の表示領域（＝padding相当） */
  #Gallery .main-image-wrap::before {
    content: "";
    position: absolute;
    inset: 15px;
    /* ←これが padding 30px 相当 */
    background: transparent;
    z-index: 1;
  }

  /* 画像はこの内側領域にピッタリ収める */
  #Gallery .main-image-wrap img {
    position: absolute;
    inset: 15px;
    /* ←ここ重要：表示領域と同じ */
    width: calc(100% - 30px);
    height: calc(100% - 30px);
    object-fit: contain;
    /* 欠けない */
    object-position: center;
    display: block;
    z-index: 2;

  }

  .detail-area .gallery-nav {
    width: 36px;
    height: 36px;
  }

  .detail-area .swiper-pagination-bullet {
    width: 8px;
    /* ←大きく */
    height: 8px;
  }

  .attached-btn {
    font-size: 16px;
  }

  .back-btn {
    font-size: 16px;
  }

}



/* =======================================
お問い合わせ
======================================== */
.tel-fax-area h3,
.entry-form-area h3 {
  line-height: 1.75;
  text-align: center;
  position: relative;
  margin-bottom: 30px;
  font-weight: 700;
  text-align: center;
  font-size: 33px;
  color: #4276ba;
}

.tel-fax-area h3 {
  color: #fff;
  margin-bottom: 20px;
}

.tel-fax-area .icon {
  width: 100%;
  margin-right: 15px;
  max-width: 40px;
  height: 40px;
}

.tel-fax-wrap {
  padding: 25px;
  background: linear-gradient(90deg, #4276ba 0%, #6dd1e7 100%);
}

.tel-fax-box {
  display: flex;
  justify-content: center;
  align-items: center;
}

.tel-fax-area .number-text {
  font-weight: 700;
  line-height: 1;
  color: #fff;
  font-size: 45px;
  transform: translateY(-3px);
}

.tel-fax-area .text {
  text-align: center;
  font-size: 22px;
  color: #fff;
  margin-top: 5px;
}

.tel-fax-box .icon {
  margin-right: 12px;
  color: #fff;
  line-height: 1;
  display: flex;
  justify-content: center;
  font-size: 40px;
}

.tel-fax-box .icon i {
  display: block;
}

.entry-form-area {
  padding: 100px 0;
  position: relative;
}

.entry-form-area .text-center {
  text-align: center;
  font-size: 18px;
}

.contactform {
  margin-top: 50px;
}

.optional {
  color: #fff;
  font-weight: 400;
  background: #999;
  font-size: 12px;
  padding: 0.2em 0.5em;
}

.required {
  font-weight: 400;
  font-size: 12px;
  padding: 0.2em 0.5em;
  transform: translateY(-0.1em);
  color: #fff;
  display: inline-block;
  background-color: #ed4c4c;
}

input[type="radio" i] {
  transform: translateY(-0.1em);
}

.radio-line .row {
  gap: 8px 0;
}

.notes {
  margin-top: 5px;
  display: block;
  font-size: 16px;
  font-weight: 400;
  color: #999;
}

#policy h4 {
  font-size: 25px;
  color: #204483;
  margin-bottom: 20px;
  font-weight: 700;
}

.buttons {
  text-align: center;
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

textarea.form-control {
  height: auto;
}

#policy {
  margin-top: 50px;
}

#policy .contents {
  padding: 1.5% 3.5%;
  border: solid 1px #ccc;
  max-height: 300px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  overflow: auto;
  background-color: #fff;
}

#policy .contents h5 {
  font-size: 18px;
  font-weight: bold;
  margin: 2em 0 0;
}

#policy .contents p,
#policy .contents ol {
  font-size: 18px;
  margin: 1em 0;
}

#policy .contents>ol {
  counter-reset: number;
  /* カウンター初期化 */
}

#policy .contents>ol>li {
  position: relative;
  font-size: 18px;
  margin-bottom: 5px;
  padding-left: 2.5em;
  /* 番号分の余白 */
}

#policy .contents>ol>li::before {
  position: absolute;
  top: 0;
  left: 0;
  counter-increment: number;
  content: "(" counter(number) ") ";
  /* ← カッコで囲む */
}

.confirm-only {
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
  justify-content: center;
  display: flex;
  gap: 0 20px;
}



.buttons {
  text-align: center;
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

/*
.buttons .fa-arrow-right,
.confirm-only .send-btn .fa-arrow-right,
.confirm-only .return-btn .fa-arrow-right {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}
*/
.agree {
  text-align: center;
  margin-top: 20px;
}

.agree label {
  font-size: 18px;
  display: inline-block;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;

}

.agree input[type="checkbox"] {
  margin-right: 5px;
}

.sei {
  padding-right: 20px;
}

.contactform .name-box {
  display: flex;
  /* divを横並びに */
  gap: 20px;
  /* 間隔 */
}

.contactform .name-box div {
  display: flex;
  align-items: center;
  /* ラベルと入力欄を縦位置そろえ */
  gap: 5px;
}

.table-contact {
  line-height: 1.75;
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  border-top: 1px solid #BCBEBF;
  margin-bottom: 30px;
}

.table-contact>tbody>tr {
  border-bottom: 1px solid #ccc;
}

.table-contact>tbody>tr>th {
  width: 15em;
  padding-left: 1em;
}

.table-contact>tbody>tr>td {
  padding-left: 2em;
}

/* テーブルの基本 */
.table-contact {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  /* 線のズレ防止 */
  border-spacing: 0;
}

/* th / td の揃えと余白を統一 */
.table-contact th,
.table-contact td {
  vertical-align: top;
  /* ← ここが肝（Safari対策） */
  padding: 12px 16px;
  line-height: 1.6;
}

/* 任意：左の見出し幅 */
.table-contact th {
  width: 15em;
  /* 使っているなら固定幅はここで */
  white-space: nowrap;
}

.table-contact tr:last-child th,
.table-contact tr:last-child td {
  border-bottom: none;
}

.table-contact th,
.table-contact td {
  vertical-align: top;
  /* ← Safariでも確実に上揃え */
}

.table-contact>tbody>tr>th,
.table-contact>tbody>tr>td {
  padding: 1em 0;
  font-size: 18px;
}

.form-control {
  display: block;
  width: 100%;
  height: calc(2em + 0.75rem + 2px);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 2;
  color: #000;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0;
}

#element {
  border: 1px solid #ced4da;
  padding: 0.375rem 0.75rem;
  font-weight: 500;
}

/* inputを非表示にして自作UIに置き換える */
.file-upload input[type="file"] {
  display: none;
}

.file-upload {
  display: inline-flex;
  align-items: center;
  border: 1px solid #000;
  padding: 12px 12px;
  cursor: pointer;
  gap: 10px;
}

/* 本物のファイル入力は非表示にして label 経由でクリック */
.file-upload input[type="file"] {
  display: none;
}

.file-btn {
  background-color: #eee;
  border: 1px solid #000;
  padding: 4px 8px;
  white-space: nowrap;
}

#statusMsg {
  color: #999;
  font-size: 16px;
  font-weight: 400;
}

/* 共通 */
.entry-form-area ::placeholder {
  color: #ccc !important;
  font-weight: 400;
}

.p-postal-code {
  width: 30%;
}

.input-name {
  display: block;
  width: 100%;
}

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

.contactform {
  font-size: 18px;
}

.note {
  margin-top: 5px;
  color: #ed4c4c;
}

.contactform .name-box .name {
  width: 50px;
}

.contactform .name-box div {
  display: flex;
  align-items: center;
  /* ãƒ©ãƒ™ãƒ«ã¨å…¥åŠ›æ¬„ã‚’ç¸¦ä½ç½®ãã‚ãˆ */
  gap: 5px;
  max-width: 300px;
  width: 100%;
}

.form-line+.form-line {
  margin-top: 20px;
}

.send-btn {
  position: relative;
}

.send-btn .more-white-icon,
.btn-primary .more-white-icon {
  position: absolute;
  right: 16px;
  width: 20px;
  height: auto;
  justify-content: center;
  top: 50%;
  display: block;
  font-size: 0;
  transform: translateY(-50%);
}

.send-btn:hover,
.btn-primary:hover {
  color: var(--main-color);
}

.send-btn:hover .more-white-icon,
.btn-primary:hover .more-white-icon {
  background-color: var(--main-color);
}

.btn-primary .fa-arrow-right,
.send-btn .fa-arrow-right {
  color: var(--main-color);
  font-size: 16px;
}

.btn-primary:hover .fa-arrow-right,
.send-btn:hover .fa-arrow-right {
  color: #fff;
}

.return-btn .more-white-icon {
  position: absolute;
  left: 16px;
  width: 24px;
  height: 24px;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
}

.return-btn .fa-arrow-right {
  color: #999999;
  font-size: 16px;
}

.return-btn:hover .fa-arrow-right {
  color: #333333;
}

.btn-primary,
.send-btn,
.return-btn,
.user-add-btn {
  position: relative;
  margin: 0 auto;
  max-width: 300px;
  width: 100%;
  display: block;
  width: 100%;
  text-align: center;
  color: #fff;
  padding: 20px 0;
  font-weight: 400;
  line-height: 1;
  overflow: hidden;
  border-radius: 0;
  color: #fff;
  border: none;
  line-height: 1.5;
  background: #4276ba;
  font-size: 18px;
  transition: 0.7s !important;
}

.user-add-btn {
  margin: 0;
}

.send-btn,
.return-btn {
  margin: 0;
}

.btn-primary:hover,
.send-btn:hover {
  color: #fff;
  background-color: #005499;
}

.return-btn {
  border: 1px solid #999999;
  background: #999999;
}

.return-btn:hover {
  border: 1px solid #333333;
  background-color: #333333;
}

.more-btn {
  position: relative;
  /* アイコン分の余白 */
}

/*
.btn-primary::after {
  content: "\f061"; 
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color:var(--main-color);
  position: absolute;
  right: 0.8em;
  width: 30px;
  height: 30px;
  line-height: 2;
  background-color: #fff;
  top: 50%;
  border-radius: 50% 50%;
  transform: translateY(-50%);
}
*/
/* 既存の .custom-select に“追記”するだけでOK */
.custom-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: #fff url('../images/common/triangle.svg') no-repeat right 0.75rem center / 12px 8px;
  border: 1px solid #ced4da;
  color: #222;
  padding: 0.375rem 1.75rem 0.375rem 0.75rem;
  font-weight: 500;
  line-height: 1.75;
  width: auto;
}

/* 状態別（任意） */
.custom-select:hover {
  border-color: #999;
}

.custom-select:focus {
  outline: none;
  border-color: #333;
}

/* 無効時は文字色を薄く → 矢印も自動で薄くなる（currentColor連動） */
.custom-select:disabled {
  color: #999;
  background-color: #f8f9fa;
  border-color: #e1e5ea;
}

@media (max-width: 1500px) {

  .tel-fax-area .container,
  .entry-form-area .container {
    padding-left: calc(15px + 50 * (100vw - 320px) / 1180);
    padding-right: calc(15px + 50 * (100vw - 320px) / 1180);
  }
}



@media (max-width: 1500px) {
  .tel-fax-ttl {
    font-size: min(calc(22px + (26 - 22) * (100vw - 992px) / (1500 - 992)),
        26px);
    margin-bottom: 20px;
  }


  .tel-fax-area .number-text {
    font-size: min(calc(45px + (60 - 45) * (100vw - 992px) / (1500 - 992)),
        60px);
  }

  .tel-fax-area .text {
    font-size: min(calc(18px + (22 - 18) * (100vw - 992px) / (1500 - 992)),
        22px);
    margin-top: min(calc(5px + (10 - 5) * (100vw - 992px) / (1500 - 992)),
        10px);
  }

  .tel-fax-area .container,
  .entry-form-area .container {
    padding-left: calc(15px + 50 * (100vw - 320px) / 1180);
    padding-right: calc(15px + 50 * (100vw - 320px) / 1180);
  }

  .entry-form-area .text-center {
    font-size: min(calc(16px + (18 - 16) * (100vw - 992px) / (1500 - 992)),
        18px);
  }

  .required {
    font-size: min(calc(14px + (16 - 14) * (100vw - 992px) / (1500 - 992)),
        16px);
  }

  .table-contact>tbody>tr>th,
  .table-contact>tbody>tr>td {
    font-size: min(calc(16px + (18 - 16) * (100vw - 992px) / (1500 - 992)),
        18px);
  }

  .form-control {
    font-size: min(calc(16px + (18 - 16) * (100vw - 992px) / (1500 - 992)),
        18px);
  }

  .table-contact>tbody>tr>th {
    width: 17em;
  }

  /* 共通 */
  .entry-form-area ::placeholder {
    font-size: min(calc(16px + (18 - 16) * (100vw - 992px) / (1500 - 992)),
        18px);
  }

  #policy h4 {
    font-size: min(calc(22px + (25 - 22) * (100vw - 992px) / (1500 - 992)),
        25px);
    margin-bottom: min(calc(15px + (20 - 15) * (100vw - 992px) / (1500 - 992)),
        20px);
  }

  #policy .contents p,
  #policy .contents ol {
    font-size: min(calc(16px + (18 - 16) * (100vw - 992px) / (1500 - 992)),
        18px);
  }

  #policy .contents h5 {
    font-size: min(calc(16px + (18 - 16) * (100vw - 992px) / (1500 - 992)),
        18px);
    margin: 2em 0 0;
  }

  #policy .contents>ol>li {
    font-size: min(calc(16px + (18 - 16) * (100vw - 992px) / (1500 - 992)),
        18px);
    margin-bottom: 5px;
  }

  .agree label {
    font-size: min(calc(16px + (18 - 16) * (100vw - 992px) / (1500 - 992)),
        18px);
  }

  .btn-primary,
  .send-btn,
  .return-btn {
    font-size: 16px;
    padding: 15px 0;
  }
}

@media (max-width: 991px) {

  .tel-fax-area h3,
  .entry-form-area h3 {
    font-size: 30px;
  }
}

@media (max-width: 991px) {

  .tel-fax-area h3 {
    font-size: min(calc(24px + (28 - 24) * (100vw - 320px) / (991 - 320)),
        28px);
  }

  .tel-fax-area h3::after {
    width: min(calc(60px + (80 - 60) * (100vw - 320px) / (991 - 320)),
        80px);
  }

  .fax-box {
    margin-top: 20px;
  }

  .fax-wrap {
    margin-top: min(calc(20px + (30 - 20) * (100vw - 320px) / (991 - 320)),
        30px);
  }

  .tel-fax-area {
    margin-bottom: 0
  }

  .tel-fax-area .icon {
    height: auto;
    line-height: 1;
  }

  .tel-fax-area .number-text {
    font-size: min(calc(26px + (50 - 26) * (100vw - 320px) / (991 - 320)),
        50px);
  }

  .entry-form-area .text-center {
    font-size: min(calc(14px + (16 - 14) * (100vw - 320px) / (991 - 320)),
        16px);
  }

  .required {
    font-size: min(calc(12px + (14 - 12) * (100vw - 320px) / (991 - 320)),
        14px);
  }

  .notes {
    font-size: min(calc(14px + (16 - 14) * (100vw - 320px) / (991 - 320)),
        16px);
  }

  .entry-form-area ::placeholder {
    font-size: min(calc(14px + (16 - 14) * (100vw - 320px) / (991 - 320)),
        16px);
  }

  #policy h4 {
    line-height: 1.5;
    font-size: min(calc(18px + (22 - 18) * (100vw - 320px) / (991 - 320)),
        22px);
    margin-bottom: 20px;
  }

  #policy .contents p,
  #policy .contents ol {
    font-size: min(calc(14px + (16 - 14) * (100vw - 320px) / (991 - 320)),
        16px);
  }

  #policy .contents h5 {
    font-size: min(calc(14px + (16 - 14) * (100vw - 320px) / (991 - 320)),
        16px);
    margin: 2em 0 0;
  }

  #policy .contents>ol>li {
    font-size: min(calc(14px + (16 - 14) * (100vw - 320px) / (991 - 320)),
        16px);
    margin-bottom: 5px;
  }

  .agree label {
    font-size: min(calc(14px + (16 - 14) * (100vw - 320px) / (991 - 320)),
        16px);
    display: flex;
    align-items: center;
    justify-content: center;
  }


  .btn-primary .fa-arrow-right,
  .send-btn .fa-arrow-right {
    color: var(--main-color);
    font-size: 12px;
  }

  .confirm-only .send-btn,
  .confirm-only .return-btn {
    margin-left: 0;
    margin-right: 0;
  }

  .confirm-only {
    gap: 0 min(calc(15px + (20 - 15) * (100vw - 320px) / (991 - 320)),
        20px);
  }

  .table-contact>tbody>tr>th,
  .table-contact>tbody>tr>td {
    font-size: min(calc(14px + (16 - 14) * (100vw - 320px) / (991 - 320)),
        16px);
  }

  .form-control {
    display: block;
    width: 100%;
    height: calc(1.75em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: min(calc(14px + (16 - 14) * (100vw - 320px) / (991 - 320)),
        16px);
    font-weight: 500;
    line-height: 1.75;
    color: #222222;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0;
  }

  .form-control.p-postal-code {
    width: 200px;
  }

  .custom-select {
    width: 200px;
  }

  #element {
    display: block;
    width: 100%;
    height: calc(1.75em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
  }

  .entry-form-area {
    padding: 100px 0;
    position: relative;
  }
}

@media (max-width: 768px) {
  .entry-form-area {
    padding: 100px 0;
    position: relative;
  }

  .entry-form-area .text-center {
    text-align: left !important;
  }

  .fa-arrow-right:before {
    font-size: 14px;
  }

  .table-contact>tbody>tr {
    width: 100%;
    display: block;
    padding: 1em 0.5em;
  }

  .table-contact>tbody>tr>th,
  .table-contact>tbody>tr>td {
    width: 100%;
    display: block;
    padding: 0;
  }

  .table-contact>tbody>tr>th+td,
  .table-contact>tbody>tr>td+td {
    margin-top: .5em;
  }

  .tel-fax-box .icon {
    font-size: 30px;
    margin-right: 7px;
    width: 26px;
    max-width: 26px;
  }

  .send-btn .more-white-icon,
  .btn-primary .more-white-icon {
    position: absolute;
    right: 16px;
    width: 20px;
    display: block;
    justify-content: center;
  }

  .return-btn .more-white-icon {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .entry-form-area {
    padding: 60px 0 80px;
    position: relative;
  }

  .tel-fax-area h3,
  .entry-form-area h3 {
    line-height: 1.5;
    font-size: 22px;
    margin-bottom: 20px;
  }
}


.number-area {
  padding: 120px 0;
}

.number-area .row {
  gap: 30px 0;
}

.number-area h4 {
  margin-bottom: 15px;
  color: #4276ba;
  font-size: 26px;
  font-weight: 700;
  display: table;
  padding: 10px 20px;
  border-radius: 10px;
  margin: 0 auto 15px;
  text-align: center;
}

.number-list {
  border-radius: 16px;
  font-size: 16px;
  padding: 20px;
  background-color: #e4f7ff;
}

.number-list .icon {
  max-width: 160px;
  height: 160px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border-radius: 50%;
  padding: 20px;
  margin-bottom: 15px;
}

.number-list .icon img {
  width: 100px;
}

.number-area .text {
  width: 90%;
  font-size: 18px;
  margin: 0 auto;
}

.number-list h5 {
  text-align: center;
  font-size: 20px;
  display: table;
  margin: 0 auto 10px;
  padding-bottom: 5px;
  border-bottom: 3px solid #4276ba;
  ;
  margin-bottom: 10px;
  font-weight: 700;
}

.number-list .large {
  font-size: 32px;
  font-weight: 700;
}

@media (max-width: 991px) {
  .number-area {
    padding: 100px 0;
  }
}

@media (max-width: 480px) {
  .number-area {
    padding: 80px 0;
  }

  .number-area h4 {
    font-size: 22px;
  }

  .number-area .text {
    width: 90%;
    font-size: 16px;
    margin: 0 auto;
  }

  .number-list h5 {
    text-align: center;
    font-size: 20px;
    display: table;
    margin: 0 auto 10px;
    padding-bottom: 5px;
    border-bottom: 3px solid #4276ba;
    ;
    margin-bottom: 10px;
    font-weight: 700;
  }

  .number-list .large {
    font-size: 28px;
    font-weight: 700;
  }
}