.san-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}

.section {
  padding-top: 70px;
  padding-bottom: 70px;
  overflow: hidden;
}

.section-top {
  padding-top: 70px;
  overflow: hidden;
}

.section-btm {
  padding-bottom: 70px;
  overflow: hidden;
}

.san-heading {
  text-align: center;
  margin: 0px auto 30px;
}

.san-heading-small {
  font-size: 12px;
  color: var(--text-color);
  display: block;
  margin-bottom: 6px;
}

.san-heading-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: bold;
  letter-spacing: 1px;
}
.san-heading-btm {
  color: var(--text-color);
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.6;
}
.san-white {
  color: var(--white);
}
.san-heading {
  overflow: hidden;
}

.san-heading-small,
.san-heading-title,
.san-heading-btm {
  will-change: transform, opacity;
}

.cb-subpage-header {
  margin-top: var(--header-size);
  padding: 60px 0px 60px;
  background-color: var(--white);
  text-align: center;
}

.cb-subpage-header__inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* English small title */
.cb-subpage-header__en {
  display: block;
  font-size: 14px;
  letter-spacing: 0.15em;
  color: var(--text-color);
  margin-bottom: 10px;
}

/* Japanese main title */
.cb-subpage-header__jp {
  font-size: 40px;
  font-weight: 500;
  letter-spacing: 0.08em;
  margin: 0;
  color: var(--black);
}

/* Decorative mark */
.cb-subpage-header__mark {
  position: relative;
  display: block;
  margin: 22px auto 0;
  width: 1px;
  height: 20px;
  background-color: var(--black);
}

.cb-subpage-header__mark::before {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background-color: var(--black);
  border-radius: 50%;
}

.cb-subpage-header__mark::after {
  content: "";
  position: absolute;
  bottom: -9px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 2px;
  background-color: var(--black);
  border-radius: 50%;
}

.cb-subpage-header__jp {
  overflow: hidden;
}

.cb-subpage-header__jp span {
  display: inline-block;
}

.cb-subpage-header__en,
.cb-subpage-header__mark {
  will-change: transform, opacity;
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
  .cb-subpage-header {
    padding: 40px 6px 30px;
  }

  .cb-subpage-header__jp {
    font-size: 28px;
  }
  .cb-subpage-header__en {
    margin-bottom: 10px;
  }
}

/* top sub page common  */
.header-sub {
  position: relative;
  overflow: hidden;
  max-width: 1600px;
  margin: 0 auto;
}

.cb-business__intro {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(20px, 4vw, 50px);
  align-items: center;
  padding: 50px 0px;
}

.cb-business__intro-text {
  flex: 1;
}

.cb-business__intro-image {
  height: 100%;
}

.cb-business__intro-i {
  position: absolute;
  right: 0;
  width: 55%;
  height: 100%;
}

.cb-business__intro-title {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.5;
  margin-bottom: 20px;
}
.cb-business__intro-image {
  display: none;
}

.cb-business__intro-image img {
  width: 100%;
  display: block;
}

.comapny-section-top {
  height: clamp(180px, 40vw, 380px);
  overflow: hidden;
}
.cst-text-wrap {
  margin-top: 10px;
}
.cst-text-wrap p {
  text-align: center;
  margin-bottom: 0px;
}

/* Reveal prep */
.cb-business__intro-title,
.cb-business__intro-text p {
  overflow: hidden;
}

/* Performance hint */
.cb-business__intro-i,
.cb-business__intro,
.cb-business__intro-image img {
  will-change: transform, opacity;
}

@media (max-width: 767px) {
  .section {
    padding-top: 50px;
    padding-bottom: 50px;
    overflow: hidden;
  }

  .section-top {
    padding-top: 50px;
  }

  .section-btm {
    padding-bottom: 50px;
  }

  .cb-business__intro {
    padding: 40px 0px 0px;
  }
  .cb-business__intro-i {
    position: absolute;
    right: 0;
    width: 55%;
    height: 100%;
    display: none;
  }
  .cb-business__intro {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .cb-business__intro-title {
    font-size: clamp(23px, 7vw, 36px);
    line-height: 1.5;
    text-align: center;
    margin-bottom: 20px;
  }
  .cb-business__intro-image {
    display: block;
  }
  .cb-business__intro-text p {
    text-align: center;
  }
}

@media (max-width: 767px) {
  .section {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .section-top {
    padding-top: 30px;
  }

  .section-btm {
    padding-bottom: 30px;
  }
}

/* button with slide hover */
.san-btn {
  position: relative;
  display: inline-block;
  max-width: 280px;
  width: 100%;
  padding: 8px 0;
  border: 1px solid var(--text-color);
  text-decoration: none;
  color: var(--text-color);
  font-size: 16px;
  overflow: hidden;
  text-align: center;
  z-index: 1;
  transition: color 0.4s ease;
}

/* Sliding background */
.san-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 0%;
  background: var(--black);
  z-index: -1;
  transition: width 0.4s ease;
}

.san-btn:hover::before {
  width: 100%;
}

/* RIGHT ARROW ICON (hidden initially) */
.san-btn::after {
  /* content: "→"; */
  font-size: 16px;
  opacity: 0;
  transform: translateX(-6px);
  transition: 0.4s ease;
}

/* On hover arrow appears and slides in */
.san-btn:hover::after {
  opacity: 1;
  transform: translateX(4px);
}

/* Text color changes */
.san-btn:hover {
  color: var(--white);
  border-color: var(--black);
}

@media (max-width: 900px) {
}
@media (max-width: 600px) {
  .san-container {
    padding: 0 7px;
  }
}

/* Breadcrumb container */
.breadcrumbs {
  padding-top: 0px;
  padding-bottom: 20px;
}

.breadcrumbs .scroll-bk {
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}
.breadcrumb-list li:last-child a .breadcrumb-nav {
  padding: 10px 0px;
}

/* Breadcrumb list */
.breadcrumb-list {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
}

/* Breadcrumb items */
.breadcrumb-list li {
  margin-right: 10px;
  font-size: 14px;
}

.breadcrumb-list li:last-child {
  margin-right: 0;
}

/* Breadcrumb links */
.breadcrumb-list a {
  text-decoration: none;
  color: var(--gray);
  position: relative;
}

.breadcrumb-list a:hover {
  color: var(--gray);
}

/* Breadcrumb active state */
.breadcrumb-list li:last-child a {
  color: var(--text-color);
  pointer-events: none;
  font-weight: bold;
}

/* Breadcrumb separator */
.breadcrumb-list li::after {
  content: ">";
  margin-left: 10px;
  color: var(--text-color);
}

.breadcrumb-list li:last-child::after {
  content: "";
}

/* Grid */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0px 40px;
  align-items: stretch;
}

/* Group */
.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full {
  grid-column: 1 / -1;
}

label {
  font-size: 16px;
  margin-bottom: 6px;
}

label span.rec {
  color: var(--red);
}

small {
  font-size: 11px;
  color: #888;
  margin-top: 4px;
}

/* Inputs */
input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-2);
  border-radius: 4px;
  font-size: 14px;
  background: var(--white);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--brand);
}
.wpcf7-not-valid-tip {
  font-size: 14px !important;
}

.pri-btn label {
  display: flex;
  align-items: center;
}

.pri-btn p,
.submit-btn-wrap,
.pri-btn p,
.submit-btn-wrap {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  line-height: normal;
}
.pri-btn .privacycheck,
.pri-btn .privacycheck {
  height: 15px;
  width: 15px;
}
.pri-btn a {
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: 14px;
  font-weight: bold;
  color: var(--brand);
  padding-left: 5px;
}
.pri-btn .wpcf7-list-item {
  margin-left: 0;
}

/* Submit */
.form-submit {
  margin-top: clamp(8px, 2vw, 16px);
  text-align: center;
}

.form-submit p {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Button */
.form-submit input {
  width: clamp(200px, 60%, 300px);
  background: var(--brand);
  color: var(--white);
  border: none;
  padding: clamp(12px, 2.5vw, 14px) clamp(32px, 6vw, 48px);
  font-size: clamp(13px, 2vw, 14px);
  cursor: pointer;
  border-radius: 2px;
  transition: opacity 0.2s ease;
}

.form-submit input:hover {
  opacity: 0.9;
}
.form-submit input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: var(--gray);
}

/* Responsive */
@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* file row spacing */
.file-row {
  margin-bottom: 12px;
}

/* button style */
.file-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--light-green);
  border: 1px dashed var(--light-green);
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-color);
  transition: all 0.2s ease;
  max-width: 100%;
}

/* hover */
.file-btn:hover {
  background: var(--light-green);
  border-color: var(--green);
}

/* hide actual input */
.file-btn input[type="file"] {
  display: none;
}

/* filename text */
.file-name {
  font-size: 13px;
  color: var(--text-color);
  max-width: 240px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* selected state */
.file-name.is-selected {
  color: var(--grren);
  font-weight: 500;
}
