
/* ================================================
   Partners Section - ご相談可能な監修パートナー
   ================================================ */
.partners-section {
  padding: 72px 0 80px;
  background-color: #F8FAFC;
  position: relative;
}

.partners-section .section-eyebrow {
  position: absolute;
  top: 35px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "DIN 2014", "Arial Black", sans-serif;
  font-weight: 700;
  color: rgba(55, 65, 81, 0.05);
  font-size: 100px;
  line-height: 1;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  z-index: 0;
}

.partners-section .section-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  color: #1F2937;
  font-size: 48px;
  text-align: center;
  margin-bottom: 64px;
  position: relative;
  z-index: 1;
  line-height: 43.2px;
}

/* 検索ボックス */
.partners-search-box {
  background-color: #FFFFFF;
  border-radius: 32px;
  padding: 48px 56px;
  margin-bottom: 64px;
  position: relative;
  z-index: 1;
}

.partners-search-box .search-title {
  font-weight: 600;
  font-size: 28px;
  color: #374151;
  text-align: center;
  margin-bottom: 40px;
  line-height: 28px;
}

.search-form-group {
  margin-bottom: 32px;
}

.search-form-group label {
  font-weight: 500;
  font-size: 20px;
  color: #374151;
  margin-bottom: 16px;
  display: block;
}

.search-form-group .form-control {
  height: 56px;
  background-color: #F5F5F5;
  border: none;
  border-radius: 10px;
  padding: 0 20px;
  font-size: 20px;
  color: #374151;
}

.search-form-group .form-control::placeholder {
  color: #D5D5D5;
  font-weight: 400;
}

.btn-search {
  width: 141px;
  height: 51px;
  background-color: #013E88;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 28px;
  letter-spacing: 14px;
  border-radius: 5px;
  border: none;
  display: block;
  margin: 0 auto;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-search:hover {
  background-color: #012D6A;
}

/* パートナーカードグリッド */
.partners-grid {
  margin-bottom: 56px;
}

.partner-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: all 0.3s ease;
}

.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.12), 7px 8px 12px rgba(0, 0, 0, 0.1), 16px 16px 16px rgba(0, 0, 0, 0.08), 28px 28px 20px rgba(0, 0, 0, 0.02), 44px 44px 24px rgba(0, 0, 0, 0);
}

.partner-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.partner-card-body {
  padding: 20px 16px;
}

.partner-card-title {
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: #374151;
  margin: 0;
  height: 32px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* ページネーション */
.partners-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.pagination-item {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #FFFFFF;
  border: 1px solid #D1D5DB;
  border-radius: 5px;
  font-weight: 600;
  font-size: 18px;
  color: #374151;
  text-decoration: none;
  transition: all 0.3s ease;
}

.pagination-item:hover:not(.active):not(.dots) {
  background-color: #F3F4F6;
  color: #013E88;
}

.pagination-item.active {
  background-color: #013E88;
  color: #FFFFFF;
  border-color: #013E88;
}

.pagination-item.dots {
  border: none;
  background: none;
  cursor: default;
}


.case-title0{

    color: #123861;
    font-size: 21px;
    font-weight: bold;
    margin: 16px 0;

}

.case-list{
  margin-top: 27px;
}
.case-list p{
  margin-bottom: 0.5rem;
}
.case-title2 span{
  color: #374151;
  background-color: #EEF0F2;
  padding: 2px 10px;
}

   /* Page Title Section */
   .page-title-section {
     padding-top: 96px;
     padding-bottom: 60px;
     text-align: center;
     background-color: #FFFFFF;
   }

   .page-title-eyebrow {
     font-family: 'DIN 2014', 'Arial', sans-serif;
     font-size: 24px;
     font-weight: 700;
     line-height: 28.8px;
     color: #123861;
     letter-spacing: 0.48px;
   }

   .page-title {
     margin-top: 16px;
     font-size: 48px;
     font-weight: 700;
     line-height: 57.6px;
     color: #1F2937;
     letter-spacing: 0.96px;
   }


.hero-case {
  background-color: #123861;
  padding-top: 104px;
  height: 410px;
  position: relative;
  overflow: hidden;
}

.hero-bg-text {
  position: absolute;
  top: 36%;
  transform: translateY(-50%);
  font-family: "DIN 2014", "Arial", sans-serif;
  font-size: 100px;
  font-weight: 700;
  color: #FFFFFF;
  opacity: 0.08;
  white-space: nowrap;
  user-select: none;
  letter-spacing: -2px;
  line-height: 1;
}

.hero-container {
  max-width: 1440px;
  padding: 0 120px;
  height: 100%;
  position: relative;
  margin: 0 auto;
}

.hero-case h1 {
  position: absolute;
  top: 38%;
  left: 120px;
  font-weight: 700;
  font-size: 35px;
  line-height: 57.6px;
  color: #FFFFFF;
  margin: 0;
}

.hero-breadcrumb {
  position: absolute;
  bottom: 32px;
  left: 120px;
}

.hero-breadcrumb .breadcrumb {
  margin: 0;
  padding: 0;
  background: none;
  font-size: 16px;
  font-weight: 500;
}

.hero-breadcrumb .breadcrumb-item {
  color: #FFFFFF;
  padding: 0;
}

.hero-breadcrumb .breadcrumb-item a {
  color: #FFFFFF;
  text-decoration: underline;
  transition: opacity 0.3s ease;
  padding-right: 12px;
}

.hero-breadcrumb .breadcrumb-item a:hover {
  opacity: 0.8;
}

.hero-breadcrumb .breadcrumb-item.active {
  color: #FFFFFF;
}

.hero-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  content: ">";
  color: #FFFFFF;
  padding-right: 10px;
  float: none;
}

/* Message Section */
.message-section {
  padding-top: 96px;
  padding-bottom: 80px;
  background-color: #FFFFFF;
}

.message-section .container {
  max-width: 1200px;
}

.mission-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.mission-eyebrow .line {
  width: 40px;
  height: 2px;
  background-color: #123861;
}

.mission-eyebrow .text {
  font-family: "DIN 2014", Arial, sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: #123861;
  line-height: 1;
}

.mission-title {
  font-weight: 700;
  font-size: 32px;
  line-height: 1.5;
  color: #374151;
  margin-bottom: 40px;
  letter-spacing: 0.96px;
}

.message-section .row {
  align-items: center;
}

.message-section img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.message-title-wrapper {
  margin-bottom: 28px;
}

.message-title-wrapper .message-title {
  font-weight: 700;
  font-size: 40px;
  line-height: 1.4;
  color: #FFFFFF;
  background-color: #123861;
  padding: 4px 16px;
  display: inline-block;
  letter-spacing: 0.8px;
  margin: 0;
  width: fit-content;
}

.message-title-wrapper .message-title.line-1 {
  display: block;
  margin-bottom: 8px;
}

.message-title-wrapper .message-title.line-2 {
  display: block;
}

.member-bio {
  font-size: 16px;
  line-height: 2;
  color: #374151;
  margin: 0;
}

/* case Cards Section */
.case-cards-section {
  padding-bottom: 80px;
}

.case-cards-section .container {
  max-width: 1200px;
}

.case-card {
  background-color: #F8FAFC;
  border-radius: 24px;
  padding: 48px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.case-card .card-title {
  font-size: 32px;
  font-weight: 700;
  color: #374151;
  text-align: center;
  margin-bottom: 28px;
}

.case-card .card-text {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: #374151;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 32px;
}

.case-card .card-text-sm {
  font-size: 14px;
  display: block;
  margin-top: 4px;
}

.btn-case {
  width: 340px;
  max-width: 100%;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #FFFFFF;
  border: 1px solid #013E88;
  border-radius: 5px;
  color: #013E88;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 2px 2px rgba(0, 0, 0, 0.09), 0 6px 3px rgba(0, 0, 0, 0.05), 0 10px 4px rgba(0, 0, 0, 0.01), 0 15px 4px rgba(0, 0, 0, 0);
  position: relative;
  padding-right: 32px;
  transition: all 0.3s ease;
}

.btn-case:hover {
  background-color: #013E88;
  color: #FFFFFF;
}

.btn-case::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background-image: url('../images/group-31-10.png');
  background-size: contain;
  background-repeat: no-repeat;
}

/* Contact Section */
.contact-section {
  padding: 72px 0;
  background-color: rgba(43, 90, 164, 0.8);
}

.contact-section .container {
  max-width: 1200px;
}

.contact-card {
  background-color: #FFFFFF;
  border-radius: 32px;
  padding: 56px 40px;
  text-align: center;
}

.contact-card h3 {
  font-weight: 700;
  font-size: 32px;
  color: #1F2937;
  margin-bottom: 24px;
}

.contact-card p {
  font-weight: 500;
  font-size: 18px;
  line-height: 28px;
  color: #1F2937;
}

.contact-buttons-container {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.btn-contact-main {
  width: 326px;
  height: 68px;
  background-color: #013E88;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 20px;
  border-radius: 5px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 3px 3px rgba(0, 0, 0, 0.09), 0 6px 4px rgba(0, 0, 0, 0.05), 0 11px 5px rgba(0, 0, 0, 0.01), 0 18px 5px rgba(0, 0, 0, 0);
}

.btn-contact-main:hover {
  background-color: #012D6A;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-contact-main img {
  width: 16px;
  height: 14px;
}

.phone-contact {
  display: flex;
  align-items: center;
  gap: 12px;
}

.phone-contact img {
  width: 60px;
  height: 60px;
}

.phone-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.phone-number {
  font-family: "DIN 2014", "Arial Black", sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #013E88;
  line-height: 1.2;
}

.phone-hours {
  font-size: 14px;
  color: #013E88;
  font-weight: 500;
  margin-top: 4px;
  line-height: 1.4;
}

.phone-hours .din-font {
  font-family: "DIN 2014", "Arial", sans-serif;
  font-size: 14px;
}

.din-font {
  font-family: "DIN 2014", Arial, sans-serif;
}

.wrap {
	display: flex; /*--横並び指定--*/
	/*--以下省略--*/
}

.wrap .box-a {
	flex-grow: 1; /*--幅を指定--*/
	position: relative; /*--positionを追加--*/
	height: 140px;
	line-height: 140px;
	margin-right: 2em;
	background-color: #aeb2ba;
}

.wrap .box-a::after {
	position: absolute; /*--positionを追加--*/
	top: 0;
	left: 100%;
	margin: 0 1rem;
	content: "";
	width: 1px; /*--縦線の太さ(幅)--*/
	height: 100%;
	background-color: #333; /*--縦線の色--*/
}

/* Responsive Styles */
@media (max-width: 991px) {

  .case-title0{
    font-size: 19px;
  }
  .case-title1{
    font-size: 14px;
  }
  .case-title2{
    font-size: 12px;
  }
  .case-list-smp{
    margin-top: 0px;
  }

  .case-list-smpbtn{
    margin-bottom: 0px;
  }

  /* Partners Section - Mobile */
.partners-section .section-eyebrow {
  font-size: 48px;
  top: 60px;
}

.partners-section .section-title {
  font-size: 24px;
  margin-bottom: 40px;
}

.partners-search-box {
  padding: 32px 20px;
  margin-bottom: 40px;
}

.partners-search-box .search-title {
  font-size: 20px;
  margin-bottom: 24px;
}

.search-form-group label {
  font-size: 16px;
}

.search-form-group .form-control {
  height: 48px;
  font-size: 16px;
}

.btn-search {
  width: 120px;
  height: 44px;
  font-size: 20px;
  letter-spacing: 10px;
}

.partner-card-image {
  height: 180px;
}

.pagination-item {
  width: 40px;
  height: 40px;
  font-size: 16px;
}
.partner-card-title{
  height: 48px;
}


  .hero-case {
    height: 280px;
    padding-top: 80px;
  }

  .hero-bg-text {
    font-size: 80px;
    left: 10%;
  }

  .hero-container {
    padding: 0 24px;
  }

  .hero-case h1 {
    font-size: 32px;
    line-height: 38.4px;
    bottom: 60px;
    left: 24px;
  }

  .hero-breadcrumb {
    bottom: 24px;
    left: 24px;
  }

  .hero-breadcrumb .breadcrumb {
    font-size: 14px;
  }

  .message-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .mission-eyebrow .text {
    font-size: 32px;
  }

  .mission-title {
    font-size: 24px;
  }

  .message-title-wrapper .message-title {
    font-size: 28px;
    padding: 4px 12px;
  }

  .member-bio {
    font-size: 14px;
    margin-top: 20px;
  }

  .case-cards-section {
    padding-bottom: 60px;
  }

  .case-card {
    padding: 32px;
    margin-bottom: 20px;
  }

  .case-card .card-title {
    font-size: 28px;
  }

  .contact-section {
    padding: 60px 0;
  }

  .contact-card {
    padding: 48px 32px;
  }

  .contact-card h3 {
    font-size: 28px;
  }

  .contact-buttons-container {
    flex-direction: column;
    gap: 24px;
  }

  .btn-contact-main {
    width: 100%;
    max-width: 326px;
  }

  .phone-contact {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 575px) {
  .hero-case {
    height: 240px;
  }

  .hero-bg-text {
    font-size: 50px;
    left: 5%;
  }

  .hero-case h1 {
    font-size: 24px;
    line-height: 28.8px;
    bottom: 52px;
    left: 16px;
  }

  .hero-breadcrumb {
    bottom: 20px;
    left: 16px;
  }

  .hero-breadcrumb .breadcrumb {
    font-size: 12px;
  }

  .hero-breadcrumb .breadcrumb-item a {
    padding-right: 8px;
  }

  .hero-breadcrumb .breadcrumb-item.active {
    padding-left: 8px;
  }

  .message-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .message-section .container {
    padding: 0 20px;
  }

  .mission-eyebrow .text {
    font-size: 24px;
  }

  .mission-eyebrow .line {
    width: 24px;
  }

  .mission-title {
    font-size: 20px;
    letter-spacing: 0.4px;
    margin-bottom: 24px;
  }

  .message-title-wrapper {
    margin-bottom: 20px;
  }

  .message-title-wrapper .message-title {
    font-size: 20px;
    padding: 4px 8px;
    line-height: 1.6;
  }

  .message-title-wrapper .message-title.line-1 {
    margin-bottom: 6px;
  }

  .member-bio {
    font-size: 14px;
    line-height: 1.8;
  }

  .case-cards-section {
    padding-bottom: 48px;
  }

  .case-card {
    padding: 24px;
    margin-bottom: 16px;
  }

  .case-card .card-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .case-card .card-text {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .btn-case {
    width: 100%;
    font-size: 14px;
  }

  .contact-section {
    padding: 48px 0;
  }

  .contact-card {
    padding: 32px 20px;
  }

  .contact-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .contact-card p {
    font-size: 16px;
    line-height: 26px;
  }

  .btn-contact-main {
    font-size: 18px;
    height: 60px;
  }

  .phone-contact {
    justify-content: center;
  }

  .phone-number {
    font-size: 32px;
  }

  .phone-hours {
    font-size: 13px;
  }

  .phone-hours .din-font {
    font-size: 15px;
  }
}
