.hero-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

@media screen and (max-width: 835px) {
  .hero-wrapper {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 124px;
  }
}

@media screen and (max-width: 440px) {
  .hero-wrapper {
    flex-direction: column;
    margin-top: 80px;
  }
}

.title-wrapper-saiyo {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 40px 40px 0 80px;
  gap: 24px;
}

@media screen and (max-width: 835px) {
  .title-wrapper-saiyo {
    padding-left: 16px;
    gap: 24px;
  }
}

@media screen and (max-width: 440px) {
  .title-wrapper-saiyo {
    width: 100%;
    margin-bottom: 40px;
    padding: 40px 16px 0;
    gap: 24px;
  }
}

.h1-wrapper {
  display: flex;
  flex-direction: column;
}


.h1-title {
  width: 100%;
  font-size: 24px;
  line-height: 1.5;
  color: #003784;
}

@media screen and (max-width: 440px) {
  .h1-title {
    font-size: 20px;
  }
}

.h1-sub {
  width: 100%;
  margin-top: 24px;
  font-size: 48px;
  font-weight: bold;
  line-height: 1.6;
  color: #333;
}

@media screen and (max-width: 835px) {
  .h1-sub {
    font-size: 32px;
  }
}

.lottiefile {
  width: 100%;
  max-width: 768px;            /* 元の想定最大幅 */
  aspect-ratio: 768 / 455;     /* 比率維持（対応ブラウザ向け） */
  height: auto;
}

@media screen and (max-width: 440px) {
  .lottiefile {
    width: 100%;
    height: auto;
  }
}

/* Form css */
/* form wrapper */
.cf7-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  width: 100%;
  max-width: 768px;
  padding: 124px 40px 40px 40px;
  background-color: #f5f5f5;
}

@media screen and (max-width: 835px) {
  .cf7-wrapper {
    max-width: 100%;
  }
}

/* form title */
  .form-heading {
    font-size: 24px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 32px;
    color: #333;
  }

  @media screen and (max-width: 835px) {
    .form-heading {
      font-size: 20px;
      line-height: 1.6
    }
  }

/* form inner */
  .form-inner {
    width: 100%;
  }

  .field-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-bottom: 16px;
    border-bottom:  0.5px  solid #D2D2D2 ;
    color: #003784;
    font-weight: 600;
  }

/* badge */
.badge{ padding:4px 16px; border-radius:999px; font-size:14px; }
.badge.required{ background:var(--danger); border:1px solid #E7002B; color:#E7002B; font-weight: 400;}
.badge.optional{ background:var(--muted); border:1px solid #7C7C7C; color:#7C7C7C; font-weight: 400;}

/* check box */
.checkbox-list .wpcf7-list-item label{
  display: grid;
  grid-template-columns: 24px 1fr;
  column-gap: 12px;
  align-items: flex-start;
  line-height: 1.7;
  cursor: pointer;
}

/* text area */
input[type="text"],
input[type="email"]{
  width:100%;
  height:48px;
  padding:16px;
  border:none;
  box-sizing:border-box;
}

/* テキストエリア（既存に合わせて） */
.input-textarea,
textarea[name="inquiry"]{
  width:100%;
  height:120px;
  padding:16px;
  border:none;
  box-sizing:border-box;
}

.cf7 input.input-text:focus{
  outline:0;
  border-color:#4aa3ff;
  box-shadow:0 0 0 3px rgba(74,163,255,.15);
}

/* 送信ボタン */
.btn-submit,
input[type="submit"].btn-submit {
  width:100%;
  padding:16px 20px;
  border:none;
  border-radius:999px;
  font-size:16px;
  font-weight:700;
  color:#fff;
  cursor:pointer;
  background:linear-gradient(90deg, #020024 0%, #090979 34%, #0483C9 100%);
  box-shadow:0 4px 10px rgba(0,0,0,0.2);
  transition:opacity .2s, transform .05s;
}

/* hover / active */
.btn-submit:hover { opacity:.9; }
.btn-submit:active { transform:translateY(1px); }

@media screen and (max-width: 835px) {
  .cf7-wrapper {
    padding: 40px 16px;
  }
  
}

@media screen and (max-width: 440px) {
  .cf7-wrapper {
    padding: 40px 16px;
  }
}

.section-saiyo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: auto;
  padding: 88px 16px;
}

@media screen and (max-width: 835px) {
  .section-saiyo {
    width: 100%;
    height: auto;
    padding: 40px 16px;
  }
}

@media screen and (max-width: 440px) {
  .section-saiyo {
    width: 100%;
    height: auto;
    padding: 40px 16px;
  }
}

.section-saiyo-bg {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: auto;
  padding: 88px 16px;
  background-color: #f5f5f5;
}

@media screen and (max-width: 835px) {
  .section-saiyo-bg {
    width: 100%;
    height: auto;
    padding: 40px 16px;
  }
}

@media screen and (max-width: 440px) {
  .section-saiyo-bg {
    width: 100%;
    height: auto;
    padding: 40px 16px;
  }
}

.container-saiyo {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1120px;
  gap: 32px;
  position: relative;
  z-index: 1; 
}

@media screen and (max-width: 835px) {
  .container-saiyo {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
}

@media screen and (max-width: 440px) {
  .container-saiyo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
  }
}

.h2-saiyo {
  width: 100%;
  font-size: 40px;
  font-weight: bold;
  text-align: center;
  line-height: 1.6;
}

@media screen and (max-width: 835px) {
  .h2-saiyo {
    font-size: 32px;
  }
}

@media screen and (max-width: 440px) {
  .h2-saiyo {
    font-size: 24px;
    line-height: 2.5;
  }
}

.issue-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  width: 100%;
}

@media screen and (max-width: 835px) {
  .issue-wrapper {
    display: flex;
  }
}

@media screen and (max-width: 440px) {
  .issue-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
  }
}

.issue-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.issue-text {
  font-size: 16px;
  line-height: 2.0;
  letter-spacing: 1.6;
  text-align: center;
}

.line-tate {
  width: 1px;
  height: 64px;
  border: solid 1px #003784;
}

.img-left {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 32px;
  width: 100%;
  max-width: 768px;
}

@media screen and (max-width: 835px) {
  .img-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
  }
}

@media screen and (max-width: 440px) {
  .img-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
  }
}

.img-right {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 32px;
  width: 100%;
  max-width: 768px;
}

@media screen and (max-width: 835px) {
  .img-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
  }
}

@media screen and (max-width: 440px) {
  .img-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
  }
}

.h3-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.h3-saiyo {
  border-left: solid 3px #003784;
  padding-left: 16px;
  font-size: 24px;
  line-height: 1.6;
}

@media screen and (max-width: 835px) {
  .h3-saiyo {
    font-size: 20px;
    line-height: 1.6;
  }
}

@media screen and (max-width: 440px) {
  .h3-saiyo {
    font-size: 20px;
    line-height: 1.6;
  }
}

.saiyo-text {
  font-size: 16px;
  line-height: 2.0;
  letter-spacing: 1.6;
}

.cv-wrapper-bg{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: auto;
  padding: 88px 16px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.cv-wrapper-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.2); /* 白の透過レイヤー = 20%白を重ねる */
  /* 0.2 → 白の濃さ。0.2なら結果的に画像が約80%の見え方 */
}

@media screen and (max-width: 835px) {
  .cv-wrapper-bg{
    padding: 40px 16px;
    width: 100%;
    height: auto;
  }
  
}

@media screen and (max-width: 440px) {
  .cv-wrapper-bg{
    width: 100%;
    height: auto;
  }
}

.h3-cv {
  font-size: 24px;
  line-height: 1.6;
  color: white;
}

@media screen and (max-width: 835px) {
  .h3-cv {
    font-size: 20px;
    line-height: 1.6;
    color: white;
  }
}

@media screen and (max-width: 440px) {
  .h3-cv {
    font-size: 20px;
    line-height: 1.6;
    color: white;
  }
}

.cv-saiyotext {
  font-size: 16px;
  line-height: 2.0;
  letter-spacing: 1.6;
  text-align: center;
  color: white;
}

.cv-saiyo-btn {
  display: flex;
  justify-content: center;
  width: 300px;
  padding: 16px 20px;
  border: none;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  background: #E67E22;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: opacity .2s, transform .05s;
  text-align: center;       /* リンク文字が中央に */
}

.cv-saiyo-btn:hover { 
  opacity: .9;
  color: #fff;   
}
.cv-saiyo-btn:active { transform: translateY(1px); }

/* cv float */
.cv-button-saiyo {
  width: 40px;
  padding: 24px 10px;
  background:#003784;
  border: none;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  writing-mode: vertical-rl; /* 縦書き（右から左） */
  text-orientation: upright; /* 文字を正立 */
  font-size: 14px;
  color: white;
  position: fixed;
  bottom: 64px;
  right: 0;
  z-index: 999;
  transition: 0.3s;
  cursor: pointer;
}

/* 会社概要 */
.company-saiyo {
  width: 100%;
  max-width: 768px;
}

.h3-company {
  font-size: 24px;
  line-height: 1.6;
  color: #003784;
  margin: 0; 
}

@media screen and (max-width: 835px) {
  .h3-company {
    font-size: 20px;
  }
}

@media screen and (max-width: 440px) {
  .h3-company {
    font-size: 20px;
  }
}


.no-dot-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.no-dot-list li {
  display: grid;
  grid-template-columns: 120px 1fr; /* 左=見出し幅固定 / 右=テキストが伸びる */
  gap: 32px;                        /* h3 とテキストの間隔 */
  align-items: center;                /* 上揃え */
  padding: 24px 0;
  border-bottom: 1px solid #eee;     /* 下線で区切りたいとき */
}



.company-text {
  font-size: 16px;
  line-height: 2.0;
  letter-spacing: 1.6;
  text-align: start;
}

@media screen and (max-width: 835px) {
  .company-text {
    text-align: start;
  }
}

@media screen and (max-width: 440px) {
  .company-text {
    text-align: start;
  }
}

.saiyo-faq-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 768px;
  gap: 32px;
}

.faq-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.h3-faq {
  font-size: 24px;
  line-height: 1.6;
  color: #003784;
  margin: 0; 
}

@media screen and (max-width: 835px) {
  .h3-faq {
    font-size: 20px;
  }
}

@media screen and (max-width: 440px) {
  .h3-faq {
    font-size: 20px;
  }
}