 .doctor-hero {
   background: #ffffff;
   margin-top: 30px;
   padding: 60px 0 0;
   overflow: hidden;
 }

 .doctor-title2 {
   font-size: 4.5rem;
   font-weight: bold;
   font-family: "Chillax", sans-serif;
   color: #1D2D42;
   margin-bottom: 10px;
   margin-top: 30px;
   white-space: nowrap;
   line-height: 1.2;
 }

.doctor-hero .section-sub-title {
  margin-top: 0;
  margin-bottom: 20px;
  text-align: left;
}


 .doctor-image-wrapper {
   position: relative;
   z-index: 3;
   /* higher than ceo-section */
   width: 95%;
   margin-left: 0;
   margin-top: 40px;
   border-radius: 0 30px 30px 0;
   overflow: hidden;
 }

 .service-doctor-section {
   padding: 80px 0;
   text-align: center;
   position: relative;
   z-index: 1;
   /* behind image */
   background: #F0F4F8;
   margin-top: -320px;
   /* pull upward behind image */
   padding: 400px 0 0px;
   border-radius: 0 50px 0px 0;
 }


 .concern-section-title {
   font-size: 36px;
   font-weight: 700;
   letter-spacing: 3.6px;
   color: #1f2d3d;
   margin-bottom: 80px;
 }

 .concern-section-title span {
   color: #2BB7B3;
 }

 .speech-box {
   background: #ffffff;
   border-radius: 12px;
   padding: 16px 16px;
   position: relative;
   display: flex;
   align-items: flex-start;
   gap: 8px;
   text-align: left;
   min-height: 80px;
   max-width: 351px;
   margin: 3px auto 0;
 }
.length-speech-box{
  max-width: 391px !important;
}
 .speech-box.speech-box-left {
    max-width: 321px;
  }

 .speech-box.speech-box-right-bot {
    max-width: 381px; 
  }

  .speech-box.speech-box-right {
    margin: 3px auto 0 0;
  }

 .speech-box::after {
   content: "";
   position: absolute;
   bottom: -18px;
   right: 36px;
   border-width: 18px 12px 0 12px;
   border-style: solid;
   border-color: #ffffff transparent transparent transparent;
 }

 .tick-icon {
   width: 26px;
   height: 26px;
   flex-shrink: 0;
   margin-top: 5px;
 }
.worry-p-sub-title {
  font-size: 14px;
  line-height: 26px;
  letter-spacing: 1.8px;
}



 .concern-bottom-wrapper {
   display: flex;
   justify-content: center;
   align-items: flex-end;
   margin-top: 32px;
   overflow: hidden;
 }

 .concern-bottom-wrapper img {
   max-width: 700px;
   display: block;
   /* tucks image flush to bottom edge */
   object-fit: contain;
   object-position: bottom;
 }

 .features-section {
   background-color: #2BB7B3;
   padding: 100px 0;
   color: #fff;
 }
 .features-section .section-sub-title {
  margin-top: 28px;
  margin-left: 8px;
  text-align: left;
 }
 .features-section .section-title {
  margin-top: 6px;
 }
 .features-section .container > div {
  max-width: 1050px;
 }
 .feature-card .p-heading {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 2.2px;
  line-height: 36px;
 }

 /* ===== Heading Area ===== */
 .features-title {
   font-size: 110px;
   font-weight: 800;
   font-family: "Chillax", sans-serif;
   line-height: 1;
 }




 /* ===== Cards ===== */
 .feature-card {
   background: #ffffff;
   border-radius: 0 60px 60px 0;
   padding: 60px 50px 25px 50px;
   position: relative;
   height: 100%;
 }

 /* Feature top label */
 .feature-label {
   position: absolute;
   top: 24px;
   left: 0px;
   background: #233142;
   color: #fff;
   padding: 10px 22px;
   border-radius: 0 30px 30px 0;
   font-weight: bold;
   font-family: 'Chillax';
   font-size: 16px;
   line-height: 30px;
   letter-spacing: 1.6px;
 }

 /* Image inside card */
 .feature-img {
   text-align: center;
   margin: 30px auto;
   margin-bottom: 16px;
 }

 .feature-img img {
   max-width: 100%;
 }




 .job-section {
   padding: 80px 0;
   background-color: #1D2D42;
   color: #fff;
   position: relative;
   overflow: hidden;
 }

 .job-card {
   background: #fff;
   color: #1D2D42;
   border-radius: 0;
   overflow: hidden;
 }

 /* .job-card img {
   width: 100%;
   height: 220px;
   object-fit: cover;
 } */

 .job-card-body {
   padding: 20px;
 }

 .job-card-body h5 {
   font-weight: 700;
   font-size: 18px;
   margin-bottom: 10px;
 }

 .salary {
   font-weight: bold;
   font-size: 18px;
   color: #1f3550;
 }

 .job-swiper {
   padding-bottom: 70px;
 }

.job-section .swiper-button-prev,
.job-section .swiper-button-next {
  width: 60px;
  height: 60px;
  top: 20px;
  left: auto; 
  cursor: pointer;
}

.job-section .swiper-button-prev::before {
  content: "";
  position: absolute;
  border-radius: 32px 3px 3px 32px;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #FFFFFF;
  z-index: -1;
  transition: transform 0.3s ease;
  transform-origin: center;
}
.job-section .swiper-button-prev:hover::before {
  transform: scaleX(0.9) scaleY(0.9);
  background:#2BB7B3;
}

.job-section .swiper-button-next::before {
  content: "";
  position: absolute;
  border-radius: 3px 32px 32px 3px;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #FFFFFF;
  z-index: -1;
  transition: transform 0.3s ease;
  transform-origin: center;
}
.job-section .swiper-button-next:hover::before {
  transform: scaleX(0.9) scaleY(0.9);
  background:#2BB7B3;
}

.job-section .swiper-button-prev img {
  rotate: 180deg;
}

/* Left button — flat on right side */
.job-section .swiper-button-prev {
  right: calc(50% + 20px);
}

/* Right button — flat on left side */
.job-section .swiper-button-next {
  right: calc(50% - 80px);
}

.job-section .swiper-button-next::after,
.job-section .swiper-button-prev::after {
  font-size: 16px;
  color: #fff;
  font-weight: bold;
  content: '';
}

.job-section .p-sub-title {
  font-size: 0.95rem;
  font-weight: 500;
}

 .custom-nav-wrapper {
   position: relative;
   margin-top: 20px;
   text-align: center;
 }

 .slide-info-btn {
   position: absolute;
   right: 0;
   top: -10px;
   background: #6c7a89;
   color: #fff;
   font-size: 14px;
   padding: 8px 14px;
   border-radius: 4px;
 }

 .note-text {
   text-align: center;
   font-size: 13px;
   font-weight: 500;
   margin-top: 24px;
   /* opacity: 0.8; */
 }

 .job-title {
   font-size: 36px;
   font-weight: bold;
   letter-spacing: 3.6px;
   line-height: 52px;
   text-align: left;
 }
  .job-title  span {
    font-size: 25px;
  }

 .mySwiper {
   width: 100%;
   margin-top: 100px;
 }

 .job-card {
   background: #f1f1f1;
   overflow: hidden;
 }

 .job-card-overlay {
   position: absolute;
   top: 25px;
   left: 25px;
   color: #fff;
 }
 .job-card-overlay .plus-white-btn {
   margin-right: 6px;
   margin-bottom: 4px;
 }
 .job-card-overlay p {
   font-weight: 500;
 }

 .job-slider-nav {
   margin-top: 40px;
   text-align: center;
 }
 .job-slider-nav .prev {
   margin-right: 40px;
 }

 .job-card-body .p-heading {
  margin-bottom: 0;
  letter-spacing: 2.6px;
 }
 .job-card-body .multi-icon {
  rotate: 45deg;
  margin: 0 3px 4px 3px;
 }
.job-section-title-img img {
  width: 175px;
}

 .voice-section,
 .faq-section {
   background: #D4F1F0;
   padding-bottom: 48px;
 }
 .faq-section .container {
  max-width: 900px;
 }

 .voice-section {
   overflow: visible;
   padding-top: 60px;
   padding-bottom: 80px;
 }


 .voice-sub-title {
   color: #000000;
   font-size: 16px;
   margin-top: 30px;
 }

 .testimonial-card {
   max-width: 1088px;
   width: 90%;
   margin: 40px auto 0 auto !important;
   background-repeat: no-repeat;
   background-size: cover;
   /* 🔥 important */
   background-position: center;
   /* 🔥 important */
   border-radius: 15px;
   border: 4px solid #2f3e4d;
   padding: 60px;
   padding-bottom: 80px;
   position: relative;
   background-image: url('../images/medical-voice-bg.png');
 }
 .testimonial-card .row.g-4.align-items-end {
  display: flex;
  justify-content: center;
 }
 .testimonial-card .before-after-box.p-sub-title p {
  margin-bottom: 0;
  font-weight: 500;
 }

 .quote-mark {
   font-family: "Chillax", sans-serif;
   font-weight: 600;
   font-size: 200px;
   line-height: 0.7;
   letter-spacing: 0;
   color: #1D2D42;
   margin-top: -80px;
   display: block;
   user-select: none;
 }

 .quote-mark-top {
   position: absolute;
   left: 8px;
   top: 30px;
   line-height: 1;
 }

 .quote-mark-bottom {
   position: absolute;
   bottom: -140px;
   right: 8px;
   line-height: 1;
 }

 .profile-title {
   margin-bottom: -23px;
   margin-left: 25px;
 }

 .profile-card {
   background-color: #22354d;
   border-radius: 10px;
   padding: 16px;
 }

 .profile-inner {
   display: flex;
   align-items: center;
   gap: 14px;
 }

 .profile-card img {
   width: 112px;
   border-radius: 12px;
   background: #D4F1F0;
   padding: 0px;
   flex-shrink: 0;
 }



 .profile-text p {
   color: #fff;
 }

 @media (min-width: 769px) {
   .profile-text p {
     line-height: 32px;
   }
 }

 .before-after-header {
   border-radius: 25px;
   overflow: hidden;
   margin-bottom: 40px;
 }

 .voice-header-box {
   background-size: cover;
   background-repeat: no-repeat;
   background-position: center;
   padding: 12px 0;
 }

 .voice-header-box img {
   max-width: 200px;
 }

 .voice-before-after-header {
   border-radius: 10px;
   height: 42px;
   overflow: hidden;
   margin-bottom: 16px;
   font-size: 1.5rem;
 }

 .voice-header-left {
   display: flex;
   align-items: center;
   /* vertical center */
   justify-content: center;
   background: #F0F4F8;
   font-family: "Chillax", sans-serif;

   border: 2px solid #24364b;
   border-right: none;
   /* remove middle border */
   border-radius: 10px 0 0 10px;
 }

 .voice-header-right {
   display: flex;
   align-items: center;
   /* vertical center */
   justify-content: center;
   background: #24364b;
   font-family: "Chillax", sans-serif;
   color: #fff;
   border: 2px solid #24364b;
   border-right: none;
   /* remove middle border */
   border-radius: 0 10px 10px 0;
 }

.comment-box {
    line-height: 1.5rem;
}


 .before-after-box .big {
   font-size: 20px;
   font-weight: bold;
   letter-spacing: 1.8px;
 }

 .doctor-hero,
 .features-section,
 .job-section,
 .flow-section,
 .faq-section,
 .multi-contact-section,
 .footer {
   position: relative;
   z-index: 2;
 }

 .doctor-image-wrapper {
   z-index: 3 !important;
 }

.job-section .overlay-text {
  font-family: "Chillax", sans-serif;
  position: absolute;
  left: 0;
  top: 250px;

  font-size: 100px;
  font-weight: 600;

  display: inline-flex;
  white-space: nowrap;
  gap: 1ch; 

  color: #304053;
  pointer-events: none;
  z-index: 1;

  will-change: transform;
  animation: scrollLeft 20s linear infinite;
}

.job-section .overlay-text::after {
  content: " " attr(data-text) ; 
}

 .voice-overlay-text {
   position: fixed;
   top: 50%;
   left: 100%;
   transform: translateY(-50%);
   width: 1628px;
   height: 235px;

   background: url("../images/voice-of-customer.png") no-repeat center;
   background-size: contain;

   animation: moveLeft 18s linear infinite;
 }

.voice-section .section-sub-title {
  margin-top: 1.5rem;
}

 .medical-overlay-text {
   position: fixed;
   top: 50%;
   left: 100%;
   transform: translateY(-50%);
   width: 1950px;
   height: 192px;

   background: url("/wordpress/wp-content/themes/d-link/images/implementation-record.png") no-repeat center;
   background-size: contain;

   animation: moveLeft 18s linear infinite;
 }

 @keyframes moveLeft {
   from {
     left: 100%;
   }

   to {
     left: -100%;
   }
 }


 .voice-section-title {
   font-weight: 700;
   font-size: 26px;
   line-height: 48px;
   letter-spacing: 3.64px;
   margin-top: 52px;
   margin-bottom: 26px;
   display: flex;
   align-items: center;
   gap: 17px;
 }




 .voice-bg-large-text {
   position: absolute;
   font-family: "Chillax", sans-serif;
   margin-top: 500px;
   left: 50%;
   transform: translateX(-50%);
   font-size: 200px;
   font-weight: 700;
   color: #FFFFFF;
   white-space: nowrap;
   pointer-events: none;
 }

 .flow-section {
   background-color: #F0F4F8;
   padding: 10px 0 80px;
   position: relative;
 }

.flow-section {
  scroll-behavior: smooth;
}
html {
  scroll-behavior: smooth;
}

 /* Large overlapping title */
 .flow-title {
   position: absolute;
   top: -15px;
   left: 50%;
   transform: translateX(-50%);
 }

 .flow-card {
   background: #ffffff;
   border-radius: 0px 20px 20px 0px;
   padding: 40px 16px 30px;
   /* increased top padding to make room for badge */
   position: relative;
   min-height: 150px;
   transition: 0.3s ease;
 }

 .flow-card .p-sub-title {
  font-size: 14px;
  line-height: 21px;
  letter-spacing: 1.4px;
 }
 .flow-section .flow-container {
  width: 90%;
  max-width: 1088px;
  margin: 0 auto;
 }
.flow-card .strength-title {
  font-size: 22px;
  line-height: 36px;
  letter-spacing: 2.2px;
}
/* Flow 見出し直下のサブタイトル — 上下余白はここで管理（global .section-sub-title の margin-bottom: 50px に依存しない） */
.flow-section .doctor-flow-sub-title {
  margin-top: 30px;
  margin-bottom: 50px;
}

 .flow-card:hover {
   transform: translateY(-5px);
   box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
 }

/* Flow: クリックできることを示す */
.flow-section .step_div {
  cursor: pointer;
}

/* クリック領域はカード内部が主なので、内側にも明示 */
.flow-section .step_div .flow-card,
.flow-section .step_div .flow-card * {
  cursor: pointer;
}

 .step-number {
   position: absolute;
   top: -1px;
   /* sits on top edge of card */
   left: 0px;
   width: 40px;
   height: 40px;
   background: #2BB7B3;
   border-radius: 0px 0px 8px 0;
   /* square with notch bottom-left */
   display: flex;
   align-items: center;
   justify-content: center;
   font-family: "Chillax", sans-serif;
   font-weight: 700;
   font-size: 26px;
   color: #fff;
   letter-spacing: 0.5px;
 }

 /* Arrow */
 .flow-arrow-img {
   width: 30px;
   /* adjust size */
   height: auto;
   /* opacity: 0.7; */
 }

 .flow-arrow-img:hover {
   opacity: 1;
 }

 .flow_arror_div {
   width: 15px;
 }

/* step_div は medical/doctor の Flow のみで col-* と併用 */

/* Flow ステップ行: 縦揃え
   ※ .step_div に display:flex を当てると col-* の横幅計算が崩れるため、
     カラムは BS 既定のまま、白カードだけ親の高さいっぱいに伸ばす */
.flow-section .row.flow-steps-row {
  align-items: stretch;
}
.flow-section .row.flow-steps-row > .step_div {
  /* flex アイテムが内容幅に膨らみ過ぎないよう（改行多いカード対策） */
  min-width: 0;
}
.flow-section .row.flow-steps-row > .step_div > .flow-card {
  height: 100%;
  box-sizing: border-box;
}
.flow-section .row.flow-steps-row > .flow_arror_div {
  align-self: center;
}

/* lg 以上: col-lg-2×4 + col-lg-1×3 = 11/12 のため右に空列ができる。
   ステップ列だけ flex で均等伸長し、行いっぱいにカード幅を配分する */
@media (min-width: 992px) {
  .flow-section .row.flow-steps-row > .step_div {
    flex: 1 1 0 !important;
    width: auto !important;
    max-width: none !important;
  }
  .flow-section .row.flow-steps-row > .flow_arror_div {
    flex: 0 0 auto !important;
  }
}

/* Flow 各ステップを包む .container の上余白（PC / SP はメディアクエリで分離） */
.doctor-flow-block-margin {
  margin-top: 50px;
}

 .flow-card-wrapper {
    max-width: 1088px;
    margin: 0 auto;
    padding-top: 30px !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
   background: #ffffff;
   border-radius: 20px;
 }
.flow-down-arrow {
  margin-bottom: 3px;
}
.flow-card-wrapper .p-heading {
   margin-top: 16px;
   margin-bottom: 0;
 }
 /* Flow Number */
 .flow-number {
   color: #2BB7B3;
   text-align: center;
   margin-right: 0.5rem;
 }

 .flow-label {
   font-size: 20px;
   display: block;
   letter-spacing: 2px;
   font-family: "Chillax", sans-serif !important;
 }

 .flow-big {
   font-size: 80px !important;
   font-weight: 700 !important;
   font-family: "Chillax", sans-serif !important;
   line-height: 0.7 !important;
 }

 /* Top Image */
 .flow-top-img {
  width: 100%;
   max-height: 220px;
   object-fit: cover;
 }

 /* Interview Box */
 .interview-box {
   border-radius: 20px;
   overflow: hidden;
   border: 2px solid #1D2D42;
 }
.interview-box .text-left {
  text-align: left;
  padding: 0 10px;
 }
 .interview-box.mt-4 {
   margin-top: 32px !important;
 }
 #flow-5, #flow-8 {
   padding-bottom: 8px !important;
 }

 .interview-header {
   background: #1D2D42;
   color: #ffffff;
 }

 .interview-box .p-4 {
   background: #F2FBFB;
 }
.interview-box .p-sub-title {
  font-size: 1.5rem;
  font-weight: 500;
 }


 .faq-section-title {
   font-size: 26px;
   font-weight: bold;
 }
.faq-section-sub-title {
  float: left;
  margin-top: 20px !important;
}
.faq-p-sub-title {
  font-size: 12px;
  line-height: 24px;
}
 .faq-title {
   font-size: 60px;
   font-weight: bold;
   color: #2aa7a1;
 }

 .faq-subtitle {
   font-weight: bold;
   font-size: 28px;
   margin-top: 50px;
 }

 .accordion-item {
   background: transparent;
   border: none;
   margin-bottom: 15px;
 }

 .question-box {
   background: #fff;
   border-radius: 50px;
   padding: 14px 20px;
   display: flex;
   align-items: center;
   cursor: pointer;
   font-weight: bold;
   justify-content: space-between;
   /* pushes icon to right */
 }

 .answer-box {
   display: flex;
   /* A label side by side with text */
   align-items: flex-start;
   gap: 12px;
   padding: 16px 20px;
   margin-top: 8px;
 }

 .answer-box p {
   margin: 0;
   font-weight: bold;
 }

 .accordion-button {
   background: #fff;
   border-radius: 50px !important;
   font-weight: 500;
   padding: 20px 30px;
 }

 .accordion-button:not(.collapsed) {
   background-color: #fff;
   box-shadow: none;
 }

 .accordion-button:focus {
   box-shadow: none;
 }

 /* Remove default arrow */
 .accordion-button::after {
   display: none;
 }

 .icon-toggle {
   margin-left: auto;
   font-size: 22px;
   color: #2aa7a1;
 }

 .accordion-body {
   background: transparent;
   padding-left: 30px;
 }

 .q-icon {
   font-family: "Chillax", sans-serif;
   font-weight: bold;
   color: #2aa7a1;
   margin-right: 10px;
   font-size: 30px;
 }

 .a-label {
   font-family: "Chillax", sans-serif;
   font-size: 30px;
   font-weight: bold;
   margin-right: 10px;
 }



 .question-left {
   display: flex;
   align-items: center;
   /* vertically center Q with text */
   gap: 12px;
   flex: 1;
 }

 .question-left p {
   margin: 0;
   font-weight: bold;
 }





 .contact-form-section-divider {
   border: none;
   height: 1px;
   background-color: #1D2D42;
   width: 100%;
   margin: 0 0 24px 0;
   opacity: 1;
 }

 .contact-phone {
   font-size: 40px;
 }


 .nav-button {
   background-color: #1f2d3d;
   color: #fff;
   border-radius: 4px 4px 20px 20px;
   padding: 5px 5px;
   line-height: 28px;
   width: 165px;
   font-weight: 600;
   text-decoration: none;
   display: inline-block;
   transition: 0.3s;
 }
.contact-form-wrap label {
  display: block;
  margin-top: 40px !important;
}
.contact-form-wrap br {
  display: none;
}
 .nav-button:hover {
   background-color: #2bb3a8;
   color: #fff;
 }

 .form-control {
   background-color: #e9ecef;
   border: none;
   padding: 14px;
   border-radius: 8px;
 }

 textarea.form-control {
   height: 180px;
 }

 .submit-btn {
   background-color: #2BB7B3;
   border: none;
   height: 80px;
   width: 250px;
   border-radius: 40px;
   font-weight: 600;
   color: white;
   transition: 0.3s;
 }

 .submit-btn:hover {
   background-color: #239a90;
 }

 .timerec-submit-btn {
  font-size: 16px;
  letter-spacing: 1.6px;
  line-height: 32px;
   width: 325px !important;
   padding-left: 40px;
    display: inline-flex;
    align-items: center;
    gap: 17px;
    transition: transform 0.3s ease;
 }
.timerec-submit-btn:hover {
  transform: scaleX(0.9) scaleY(0.9);
  background: rgba(43,183,179, 0.8);
}

/* LINE 友だち追加（add-line.png）: タイムレックスボタンと同じスケール＋軽いフェード */
a.btn.line-btn {
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  display: inline-block;
  line-height: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

a.btn.line-btn:hover {
  transform: scaleX(0.9) scaleY(0.9);
  opacity: 0.85;
  background: transparent;
  border: none;
}

a.btn.line-btn:focus-visible {
  outline: 2px solid #2bb7b3;
  outline-offset: 4px;
}

a.btn.line-btn img {
  display: block;
  vertical-align: top;
}

@media (prefers-reduced-motion: reduce) {
  a.btn.line-btn {
    transition: none;
  }

  a.btn.line-btn:hover {
    transform: none;
    opacity: 1;
  }
}

 .wpcf7-submit {
  font-weight: bold;
  padding: 18px 40px;
   border-radius: 40px;
   width: 250px !important;
  color: white;
   border: none;
  background: #2BB7B3;
  font-size: 16px;
  letter-spacing: 1.6px;
  line-height: 32px;
   padding-left: 80px;
    display: inline-flex;
    align-items: center;
    gap: 17px;
    transition: transform 0.3s ease;
 }
.wpcf7-submit:hover {
  transform: scaleX(0.9) scaleY(0.9);
  background: rgba(43,183,179, 0.8);
}
p:has(#privacy-checkbox) {
  text-align: center;
}
#privacy-checkbox {
  width: 30px;
  height: 30px;
  vertical-align: middle;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 6px;
  border: 1px solid #959CA3;
  background: #ffffff;
  cursor: pointer;
  position: relative;
}

/* Checked state (teal box) */
#privacy-checkbox:checked {
  background-color: #2BB7B3; /* teal */
  border-color: #2BB7B3;
}

/* White checkmark */
#privacy-checkbox:checked::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 3px;
  width: 8px;
  height: 19px;
  border: solid white;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}
.line-id-text-block .line-id {
  font-size: 26px !important;
  font-weight: bold;
  letter-spacing: 3.64px;
  line-height: 48px;
}
.line-id-text-block .line-label {
  font-size: 16px !important;
  font-weight: bold;
  line-height: 30px;
  letter-spacing: 1.6px;
}
 .section-padding {
   padding: 80px 0 !important;
 }
.contact-section-sub-title{
  margin-bottom: 56px !important;
}
 .contact-section-padding {
   padding: 0px 0;
   padding-bottom: 80px;
 }

 .contact-form-wrap {
   margin: auto;
   font-family: sans-serif;
 }

 .contact-form-wrap label {
   display: block;
   margin-top: 24px;
   font-weight: 600;
   color: #333;
 }
.faq-section-title{
  margin-top: 72px;
}
.answer-box p, .question-left p {
  font-size: 14px;
  line-height: 30px;
  letter-spacing: 1.4px;
}
 .form-input,
 .form-select,
 .form-textarea {
   width: 100%;
   padding: 16px;
   margin-top: 8px;
   border-radius: 6px;
   border: 0px solid #dcdcdc;
   background: #f5f7f8;
   font-size: 18px;
   letter-spacing: 1.8px;
 }

 .form-textarea {
   height: 180px;
   resize: none;
 }

 .wpcf7-not-valid {
   border: 2px solid #CB1A26 !important;
   background: #fff2f2;
 }

 .wpcf7-not-valid-tip {
   color: #CB1A26;
   font-size: 14px;
   margin-top: 8px;
 }

 .privacy-check {
   margin-top: 20px;
   font-size: 14px;
 }

 .submit-area {
   margin-top: 32px;
   text-align: center;
   /* padding-left のみだと text-align:center の視覚中心が右にズレる */
   padding-left: 0;
   position: relative;
 }

/* CF7: スピナーがインラインで並ぶと送信ボタンが右にズレる → レイアウトから外す */
.submit-area .wpcf7-spinner {
  position: absolute;
  top: 50%;
  left: calc(50% + 125px + 12px); /* .wpcf7-submit width 250px の右隣 */
  transform: translateY(-50%);
  margin: 0 !important;
}

@media (max-width: 768px) {
  .submit-area {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .submit-area .wpcf7-spinner {
    position: static !important;
    transform: none !important;
    margin: 12px 0 0 !important;
  }
}

/* .submit-area クラスが無いフォーム用（問い合わせエリア内） */
.contact-form-area .wpcf7-form p:has(.wpcf7-submit) {
  position: relative;
  text-align: center;
}
.contact-form-area .wpcf7-form p:has(.wpcf7-submit) .wpcf7-spinner {
  position: absolute;
  top: 50%;
  left: calc(50% + 125px + 12px);
  transform: translateY(-50%);
  margin: 0 !important;
}
@media (max-width: 768px) {
  .contact-form-area .wpcf7-form p:has(.wpcf7-submit) {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .contact-form-area .wpcf7-form p:has(.wpcf7-submit) .wpcf7-spinner {
    position: static !important;
    transform: none !important;
    margin: 12px 0 0 !important;
  }
}



 .wpcf7-response-output {
   display: none;
 }

 .privacy-link {
   color: #2BB7B3 !important;
 }

 .voice-title {
  font-size: 30px;
  line-height: 48px;
  letter-spacing: 4.48px;
  font-weight: bold;
  text-align: center;
  margin-top: -0.5rem;
 }
.contact-attention-text {
  font-size: 14px !important;
  text-align: center;
  font-weight: bold;
  line-height: 30px;
  letter-spacing: 1.4px;
}
.contact-section-sub-title {
  margin-top: 30px !important;
}
.feature-section-sub-title{
  text-align: left;
}
 @media (min-width: 768px) {
  
 .feature-card p {
  font-size: 16px;
  line-height: 32px;
  letter-spacing: 1.6px;
 }

  .testimonial-card > * {

  margin-left: auto;
  margin-right: auto;
}
.multi-contact-section > * {
  max-width: 710px;
  margin-left: auto;
  margin-right: auto;
} 
 .job-card-img-wrapper::before {
  content: "";
  position: absolute;
  inset: 0; /* shorthand for top:0; left:0; right:0; bottom:0 */
  background: rgba(0, 0, 0, 0.3); /* 30% black */
  z-index: 1;
}
.job-card-overlay {
  position: absolute;
  z-index: 2;
}
.job-card-body {
  position: relative;
  z-index: 3; /* higher than overlay */
  background: #fff; /* ensure clean separation */
}

/* PC 求人カード: 全体 430×380、画像エリア 430×265 */
.job-section .swiper-slide.job-swiper-slide {
  width: 430px;
  box-sizing: border-box;
}

.job-section .job-card:not(.job-card-mobile) {
  width: 430px;
  height: 380px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.job-section .job-card:not(.job-card-mobile) .job-card-img-wrapper {
  position: relative;
  width: 430px;
  height: 265px;
  flex-shrink: 0;
  overflow: hidden;
}

.job-section .job-card:not(.job-card-mobile) .job-card-body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.job-section .job-card:not(.job-card-mobile) .job-card-img-wrapper-image {
  width: 430px;
  height: 265px;
  object-fit: cover;
  display: block;
  max-width: none;
}
.hiring-img{
  height: 146px;
}
.job-title {
  margin-top: -15px;
}
.job-card-title {
  font-size: 26px !important;
  line-height: 48px;
  letter-spacing: 3.64px;
  font-weight: bold;
}
.job-card-big-title {
  font-size: 36px !important;
  letter-spacing: 3.6px;
  font-weight: bold;
}
.job-card-sub-title {
  font-size: 22px !important;
  letter-spacing: 2.2px !important;
  font-weight: bold;
}
.job-card-p-sub-title {
  font-size: 14px !important;
  font-weight: bold !important;
}
 }

 @media (max-width: 375px) {
    .flow-card-wrapper .p-heading {
        letter-spacing: 1px;
    }
    .flow-card-wrapper .d-flex.align-items-start.gap-3 {
        gap: 0.5rem !important;
    }
}

 @media (max-width: 768px) {
  .job-card-img-wrapper-image {
  width: 100% !important;
}
  .voice-title {
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 1.4px;
  margin-top: 10px;
  margin-bottom: 10px !important;
  text-align: left;
 }
 .voice-before-after-header {
  font-size: 1.2rem;
 }


  .timerec-submit-btn {
    width: 100% !important;
  }
   .doctor-title2 {
     font-size: 32px;
     letter-spacing: 0px;
     margin-bottom: 0px;
     margin-top:30px;
   }

   .doctor-hero {
     margin-top: 60px;
   }

   .doctor-hero,
   .contact-head {
     padding: 20px 0 40px !important;
   }

  /* ヒーロー内サブタイトル上の余白: PC の title 下マージン半分相当（SP の .section-sub-title 20px も上書きしない） */
  .doctor-hero .section-sub-title {
    margin-top: 0;
    margin-bottom: 0px;
    font-size: 10px;
  }

  /* ヒーロー直下リード文: SP のみ余白・行間を調整（.mt-4 を上書き） */
  .doctor-hero .doctor-hero-lead {
    margin-top: 20px !important;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.75;
    letter-spacing: 0.02em;
    color: #1d2d42;
  }

  /* お悩みボックス: PC のみ <br> を有効にし、SP は連続テキストにする */
  br.doctor-br-pc-only {
    display: none;
  }

.doctor-image-wrapper {
  margin-top: -20px;
  width: 100%;
}
.doctor-image-wrapper .img-fluid {
    width: 100%;
    padding-right: 30px;
}

.speech-box, .speech-box-right, .speech-box.speech-box-left {
  max-width: 100%;
  padding: 13px 16px; /* ベース 16px から SP のみ上下 3px ずつ削減 */
}
.service-doctor-section .col-md-6.col-lg-5 {
  padding: 0;
}
.concern-bottom-wrapper img {
  width: 100%;
}
.features-section {
  padding: 80px 0 56px 0;
}
.features-section .section-title {
  font-size: 76px !important;
  margin-top: 15px;
}
.features-section .section-sub-title {
  font-size: 10px;
  text-align: center;
  margin-bottom: 5px;
}
.features-section .feature-card {
  padding: 19px;
}
.features-section .col-lg-6 {
  margin-top: 10px;
}
   .voice-section-title {
     font-size: 12px;
     letter-spacing: 1.4px;
     line-height: 30px;
     margin-top: 30px;
     margin-bottom:15px;
   }

   .concern-section-title {
     font-size: 22px;
     letter-spacing: 2.2px;
     margin-bottom: 60px;
   }
   .service-doctor-section {
    margin-top: -230px;
    padding-top: 270px;
    border-radius: 0 30px 0px 0;
   }
   .doctor-image-wrappe {
    margin-top: 0px;
   }
   .job-section {
    padding: 51px 0 70px 0;
   }
   .job-section .overlay-text {
    top:135px;
    font-size: 60px;
   }
   .job-title {
     font-size: 20px;
     letter-spacing: 2.2px;
     line-height: 32px;
   }
   .job-title span {
    font-size: 18px;
  }
  .job-section-title-img {
    margin-bottom: 74px !important;
  }
   .job-section-title-img img {
    width: 120px;
    font-size: 70px;
   }
  .job-card-img-wrapper img {
    filter: brightness(70%);
  }

   .voice-section .section-sub-title {
    margin-top: 0.5rem;
    margin-bottom: -1.5rem;
  }
  .voice-section .py-5 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .voice-section {
    padding-top: 35px !important;
    padding-bottom: 100px !important;
  }

   .flow-label {
     font-size: 14px;
   }

   .flow-big {
     font-size: 50px !important;
   }

   .before-after-box .big {
     font-size: 18px;
     font-weight: bold;
     letter-spacing: 1.8px;
   }
.flow-card-wrapper {  
  padding: 24px 19px 40px 19px !important;
}
  .flow-section .doctor-flow-sub-title {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  /* Flow 矢印ラッパー: SP では Bootstrap .my-4 より狭く */
  .doctor-flow-arrow-wrap {
    margin-top: 10px !important;
    margin-bottom: -15px !important;
  }

  .doctor-flow-arrow-wrap .flow-down-arrow {
    width: 28px;
    max-width: 28px;
    height: auto;
  }

  .doctor-flow-block-margin {
    margin-top: 22px;
    line-height: 21px;
  }
.flow-card-wrapper .col-lg-4.text-lg-end.mt-4.mt-lg-0 {
  margin: 16px 0;
}
.flow-card-wrapper p {
margin-bottom: 0;
margin-top:10px;
}
.flow-small {
  line-height: 1.6 !important;
  margin-top: 10px;
  margin-bottom: 0;
}
.flow-card-wrapper .p-heading {
  margin-top: 0;
}
.interview-box .p-sub-title {
  font-size: 14px;
}
.interview-box .p-4.p-lg-5 {
  padding: 15px 10px 32px 10px !important;
}
.interview-box .text-left {
  padding: 0;
}
   .job-card-mobile {
    position: relative;
    z-index: 2;
     background: #fff;
     color: #333;
     border-radius: 0px;
     overflow: hidden;
     margin-bottom: 20px;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
   }

   .testimonial-card {
    margin-top: 36px !important;
     padding: 30px 20px;
     width: 100%;
   }
   .nav-button-row {
     gap: 0 !important;
   }

   .nav-button-row .col-6 {
     padding: 4px !important;
   }

   .nav-button {
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     background: #1D2D42;
     color: #fff;
     font-size: 12px;
     font-weight: 600;
     text-decoration: none;
     padding: 10px 10px 8px;
     width: 100%;
     text-align: center;
     gap: 4px;
   }

   .detail-icon {
     width: 66px;
   }

   .quote-mark {
     font-size: 100px;
     margin-top: -55px;
     margin-left: 5px;
   }

   .quote-mark-bottom {
     bottom: -70px;
     right: 12px;
   }

   .note-text {
     font-size: 10px;
     text-align: left;
     line-height: 1.6;
   }

    .testimonial-card  p {
      font-size: 14px !important;
    }
   .voice-main-title {
     font-size: 36px !important;
     margin-top: -55px;
   }

   .comment-box {
     font-size: 10px;
     letter-spacing: 0.5px;
     line-height: 15px;
   }

   .profile-card img {
     height: 86px;
     width: auto;
     padding: 0;
   }

   .profile-card {
     height: 124px;
   }
.section-sub-title.faq-section-sub-title,.section-title.green-color.faq-section-title {
  text-align: center;  
  width: 100%;
}
.section-sub-title.faq-section-sub-title {
  margin-bottom: 20px;
}
.section-title.green-color.faq-section-title {
  margin-top: 20px;
}
.p-sub-title.faq-p-sub-title {
  font-weight: normal;
}
   .faq-title {
     text-align: center;
   }

   .faq-section-title {
     font-size: 18px;
     font-weight: bold;
     text-align: left;
   }
   .fap-section-title-1 {
    margin-top: -50px;
   }
.contact-section-sub-title {
  margin-top: 20px !important;
  margin-bottom: 30px !important;
}
.contact-attention-text {
  text-align: left;
  font-weight: normal;
  font-size: 10px !important;
}
.sp-linebtn-wrapper {
  text-align: center;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
   .contact-phone {
     font-size: 28px;
   }

   .feature-img {
     margin-top: 30px;
   }


   .feature-img img {
      margin-top: 50px;
   }
 }