/* ================================================
   トップページ専用スタイル
   ================================================ */

/* メインコンテンツ - ヘッダーの高さ分のパディング */
main {
  padding-top: 74px;
}

/* ================================================
   Hero Section - ヒーローセクション
   ================================================ */
.hero-section {
  position: relative;
  height: 632px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(0deg, rgba(0, 30, 72, 0.55), rgba(0, 30, 72, 0.55)),
              url(../images/rectangle-20.jpeg) no-repeat center center / cover;
}

.hero-content {
  z-index: 2;
}

.hero-content .hero-logo {
  width: 195.58px;
  height: 136px;
  margin-bottom: 56px;
}

.hero-catchcopy {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 32px;
  color: #E2E8F0;
  line-height: 48px;
}

.hero-catchcopy p {
  margin-bottom: 8px;
}

.hero-catchcopy p:last-child {
  margin-bottom: 0;
}

/* ================================================
   Philosophy Section - 理念セクション
   ================================================ */
.philosophy-section {
  position: relative;
  background-color: #f8fafc;
  padding: 120px 0;
  overflow: hidden;
}

.philosophy-bg-text {
  position: absolute;
    top: 18%;
    left: 32%;
    transform: translate(-50%, -50%);
    font-family: "DIN 2014", "Arial", sans-serif;
    font-size: 120px;
    font-weight: 700;
    color: #374151;
    opacity: 0.03;
    white-space: nowrap;
    user-select: none;
    letter-spacing: -2px;
    line-height: 1;
    pointer-events: none;
    z-index: 1;
}

.philosophy-section .container {
  position: relative;
  z-index: 2;
}

.philosophy-content {
  max-width: 480px;
}

.philosophy-title {
  font-weight: 600;
  font-size: 32px;
  line-height: 48px;
  letter-spacing: 1.6px;
  color: #374151;
  margin-bottom: 0;



}


.philosophy-title-h2{
  font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 48px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}



.philosophy-text {
  margin-top: 40px;
  font-weight: 500;
  font-size: 16px;
  line-height: 26px;
  color: #374151;
}

.btn-philosophy {
  margin-top: 32px;
  width: 208px;
  height: 48px;
  background-color: #FFFFFF;
  border: 1px solid #013E88;
  border-radius: 5px;
  color: #013E88;
  font-weight: 600;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 0 38px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.09), 0 2px 2px rgba(0, 0, 0, 0.09), 0 4px 3px rgba(0, 0, 0, 0.05), 0 7px 4px rgba(0, 0, 0, 0.01), 0 11px 4px rgba(0, 0, 0, 0);
}

.btn-philosophy:hover {
  background-color: #013E88;
  color: #FFFFFF;
}

.btn-philosophy img {
  width: 14px;
  height: 14px;
}

.philosophy-image {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

/* ================================================
   Business Section - 事業概要セクション
   ================================================ */
.business-section {
  position: relative;
  background-color: #123861;
  padding: 76px 0 120px;
  overflow: hidden;
}

.business-section .section-eyebrow {
  position: absolute;
  top: 76px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "DIN 2014", "Arial Black", sans-serif;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.1);
  font-size: 140px;
  line-height: 1;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}

.business-section .section-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  color: #FFFFFF;
  font-size: 48px;
  margin-top: 56px;
  margin-bottom: 80px;
  position: relative;
  z-index: 1;
}

/* 監修マッチング事業カード */
.business-card {
  background-color: #FFFFFF;
  border-radius: 32px;
  position: relative;
  margin-bottom: 24px;
}

.business-card-inner {
  padding: 89px 88px;
  position: relative;
  z-index: 2;
}

.business-card-inner .card-title {
  font-weight: 700;
  font-size: 32px;
  color: #374151;
  line-height: 43.2px;
  margin-bottom: 28px;
}

.business-card-inner .card-text {
  font-weight: 500;
  font-size: 16px;
  line-height: 26px;
  color: #374151;
  max-width: 515px;
}

.business-card .decorative-img {
  width: 100%;
  height: auto;
  max-width: 380px;
  object-fit: contain;
}

/* 実績サブカード */
.business-sub-card {
  background-color: #EEF0F3;
  border-radius: 24px;
  padding: 56px 64px;
  margin-top: 64px;
}

.sub-card-item {
  margin-bottom: 0;
}

.sub-card-item .item-title {
  font-weight: 700;
  font-size: 32px;
  color: #062D59;
  line-height: 43.2px;
  margin-bottom: 28px;
}

.sub-card-item .item-text {
  font-weight: 500;
  font-size: 16px;
  line-height: 26px;
  color: #374151;
}

.sub-card-item .item-image {
  border-radius: 8px;
  object-fit: cover;
  width: 100%;
  height: auto;
}

/* メディカルコンサルティング事業カード */
.business-card.medical-card {
  padding: 64px 88px;
}

.medical-card .card-title {
  font-weight: 700;
  font-size: 32px;
  color: #374151;
  line-height: 43.2px;
  margin-bottom: 28px;
}

.medical-card .card-text {
  font-weight: 500;
  font-size: 16px;
  line-height: 26px;
  color: #374151;
}

.medical-card .medical-image {
  width: 100%;
  border-radius: 8px;
  object-fit: contain;
}

/* ================================================
   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;
}

/* ================================================
   Info Cards Section - 企業情報・採用情報カードセクション
   ================================================ */
.info-cards-section {
  padding: 56px 0;
  background-color: #F8FAFC;
}

.info-card {
  height: 224px;
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 2px 1px 5px rgba(0, 0, 0, 0.1), 7px 5px 9px rgba(0, 0, 0, 0.09), 16px 12px 12px rgba(0, 0, 0, 0.05), 28px 21px 14px rgba(0, 0, 0, 0.01), 44px 33px 16px rgba(0, 0, 0, 0);
  padding: 24px;
  gap: 24px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.info-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);
}

.info-card img {
  width: 176px;
  height: 176px;
  border-radius: 8px;
  object-fit: cover;
}

.info-card h3 {
  font-weight: 700;
  font-size: 24px;
  line-height: 43.2px;
  color: #062D59;
  flex: 1;
  text-align: left;
  margin-left: 5%;
}

.info-card .arrow-circle {
  width: 27px;
  height: 27px;
  background-color: rgba(6, 45, 89, 0.95);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.info-card .arrow-circle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-40%, -50%);
  width: 7px;
  height: 11px;
  background-image: url('../images/vector-3.svg');
  background-size: contain;
  background-repeat: no-repeat;
}

/* ================================================
   Contact Section - お問い合わせセクション
   ================================================ */
.contact-section {
  padding: 72px 0;
  background-color: rgba(43, 90, 164, 0.8);
}

.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;
}

/* ================================================
   レスポンシブデザイン - モバイル対応
   ================================================ */

/* タブレット (991px以下) */
@media (max-width: 991px) {
  main {
    padding-top: 80px;
  }

  .hero-section {
    height: 500px;
  }

  .hero-content .hero-logo {
    width: 140px;
    height: 98px;
    margin-bottom: 40px;
  }

  .hero-catchcopy {
    font-size: 24px;
    line-height: 36px;
  }

  .philosophy-section {
    padding: 80px 0;
  }


  .philosophy-text {
    margin-top: 24px;
    font-size: 14px;
    line-height: 24px;
  }

  .business-section .section-eyebrow {
    font-size: 80px;
  }

  .business-section .section-title {
    font-size: 32px;
    margin-top: 40px;
    margin-bottom: 40px;
  }

  .business-card-inner {
    padding: 48px 32px;
  }

  .business-sub-card {
    padding: 32px 24px;
  }

  .business-card.medical-card {
    padding: 48px 32px;
  }

  .info-card {
    height: auto;
    padding: 32px;
    flex-direction: column;
    text-align: center;
  }

  .info-card img {
    width: 120px;
    height: 120px;
  }

  .info-card h3 {
    font-size: 24px;
  }

  .contact-buttons-container {
    flex-direction: column;
    gap: 24px;
  }

  .btn-contact-main {
    width: 100%;
    max-width: 326px;
  }

  .phone-contact {
    flex-direction: column;
    gap: 16px;
  }

  /* Partners Section - Tablet */
  .partners-section .section-eyebrow {
    font-size: 60px;
  }

  .partners-section .section-title {
    font-size: 32px;
  }

  .partners-search-box {
    padding: 40px 32px;
  }
}

/* スマートフォン (575px以下) */
@media (max-width: 575px) {
  .hero-section {
    height: 400px;
  }

  .hero-content .hero-logo {
    width: 100px;
    height: 70px;
    margin-bottom: 32px;
  }

  .hero-catchcopy {
    font-size: 18px;
    line-height: 28px;
  }

  .philosophy-section {
    padding: 60px 0;
  }



  .btn-philosophy {
    width: 100%;
    max-width: 208px;
  }

  .business-section {
    padding: 60px 0;
  }
  .philosophy-bg-text{
    font-size: 82px;
    top: 87px;
    left: 0%;
  }

  .business-section .section-eyebrow {
    font-size: 76px;
    top: 58px;
  }

  .business-section .section-title {
    font-size: 24px;
    margin-top: 32px;
    margin-bottom: 32px;
  }

  .business-card-inner {
    padding: 32px 20px;
  }



  .business-card-inner .card-text {
    font-size: 14px;
    line-height: 24px;
  }

  .sub-card-item .item-title {
    font-size: 20px;
    line-height: 32px;
  }

  .sub-card-item .item-text {
    font-size: 14px;
    line-height: 24px;
  }

  .business-card.medical-card {
    padding: 32px 20px;
  }

  .clients-title {
    font-size: 24px;
  }

  .client-logos {
    height: 80px;
  }

  .info-card {
    padding: 24px;
  }

  .info-card h3 {
    font-size: 20px;
    line-height: 32px;
  }

  .contact-card h3 {
    font-size: 24px;
  }

  .contact-card p {
    font-size: 16px;
    line-height: 26px;
  }

  .btn-contact-main {
    font-size: 18px;
    height: 60px;
  }

  .phone-number {
    font-size: 32px;
  }

  .phone-hours {
    font-size: 13px;
  }

  .phone-hours .din-font {
    font-size: 15px;
  }

  /* 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;
  }
}
