/* ================================================
   トップページ専用スタイル
   ================================================ */

/* メインコンテンツ - ヘッダーの高さ分のパディング */
main {
  padding-top: 74px;
}

/* ================================================
   Hero Section - ヒーローセクション
   ================================================ */
.hero-section {
  position: relative;
  height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
	  overflow: hidden;
/*   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-section #heroCarousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-section .carousel-inner,
.hero-section .carousel-item {
  height: 100%;
}

.hero-section .hero-slide {
  width: 100%;
  height: 100%;
  background-size: cover;
      background-position: center top;
  background-repeat: no-repeat;
}


.hero-section .hero-slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(0, 30, 72, 0.55), rgba(0, 30, 72, 0.55));
}

/* Carousel インジケーター */
.hero-section .carousel-indicators {
  bottom: 30px;
  z-index: 10;
}

.hero-section .carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  margin: 0 6px;
  transition: all 0.3s ease;
}

.hero-section .carousel-indicators button.active {
  background-color: #fff;
  transform: scale(1.2);
}

/* Carousel 前後ボタン */
.hero-section .carousel-control-prev,
.hero-section .carousel-control-next {
  width: 50px;
  height: 50px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.hero-section:hover .carousel-control-prev,
.hero-section:hover .carousel-control-next {
  opacity: 1;
}

.hero-section .carousel-control-prev {
  left: 20px;
}

.hero-section .carousel-control-next {
  right: 20px;
}

.hero-section .carousel-control-prev:hover,
.hero-section .carousel-control-next:hover {
  background: rgba(255, 255, 255, 0.4);
}

.hero-content {
     position: relative;
    z-index: 5;
    text-align: left;
    right: 16%;
}



.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: 27px;
    color: #E2E8F0;
    line-height: 39px;
}

.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;
	    margin-top: 50px;
}

.business-card .decorative-img {
    width: 100%;
    max-width: 400px;
    height: auto;          /* 固定175pxを解除：図の下半分が切れるのを防ぐ */
    object-fit: contain;
    margin-bottom: 20px;
}

/* 実績サブカード */
.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,
.business-sub-card .item-image {
  border-radius: 8px;
  object-fit: contain;   /* 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) {
	
	.hero-content {
    text-align: center;
    right: 0;
	}
	
  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;
  }
	
	  .hero-section .carousel-control-prev,
  .hero-section .carousel-control-next {
    width: 40px;
    height: 40px;
    opacity: 0.7;
  }

  .hero-section .carousel-control-prev {
    left: 10px;
  }

  .hero-section .carousel-control-next {
    right: 10px;
  }


  .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: 360px;
  }

  .hero-content .hero-logo {
    width: 100px;
    height: 70px;
    margin-bottom: 32px;
  }

  .hero-catchcopy {
    font-size: 14px;
        line-height: 14px;
        font-weight: 300;
  }

  .philosophy-section {
    padding: 60px 0;
  }

	
	.hero-section .carousel-control-prev,
  .hero-section .carousel-control-next {
    display: none;
  }

  .hero-section .carousel-indicators {
    bottom: 2px;
  }

  .hero-section .carousel-indicators button {
    width: 6px;
    height:6px;
    margin: 0 4px;
  }


  .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;
	  margin-top: 20px;
  }

  .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: 12px;
        height: 34px;
        max-width: 146px;
  }

  .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;
  }
}


/* ================================================
   Achievements Section - 日本医療DXの実績（ach- で名前空間化）
   ================================================ */
.achievements-section{ --ach-navy:#0f3d62; --ach-orange:#d89a6a; background:#ffffff; }
.ach-wrap{ width:min(1120px, calc(100% - 32px)); margin:0 auto; padding:64px 0 80px; color:#07365b; font-family:'Noto Sans JP', sans-serif; letter-spacing:.02em; }
.ach-section-title{ text-align:center; color:var(--ach-navy); font-size:34px; line-height:1; letter-spacing:.16em; margin:0 0 38px; font-weight:800; }
.ach-section-title::after{ content:""; display:block; width:255px; max-width:70vw; height:3px; background:var(--ach-navy); margin:18px auto 0; }
.ach-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:26px; }
.ach-card{ border:4px solid var(--ach-navy); border-left-color:var(--ach-orange); border-top-color:var(--ach-orange); border-radius:12px; min-height:240px; padding:36px 38px 30px; position:relative; overflow:hidden; background:#fff; }
.ach-card h3{ margin:0 0 12px; color:var(--ach-navy); font-size:22px; line-height:1.65; font-weight:800; }
.ach-metric{ display:flex; align-items:flex-end; gap:8px; margin:4px 0 12px; color:var(--ach-navy); }
.ach-metric .ach-value{ font-size:72px; font-weight:900; letter-spacing:-.06em; line-height:.88; }
.ach-metric .ach-unit{ font-size:18px; font-weight:800; line-height:1.3; margin-bottom:8px; }
.ach-desc{ font-size:15px; line-height:1.85; color:var(--ach-navy); font-weight:650; max-width:520px; }
.ach-wide{ grid-column:1 / -1; min-height:260px; padding:38px 42px; display:grid; grid-template-columns:1fr 1px 1fr 1px 1fr; gap:30px; align-items:start; }
.ach-divider{ width:1px; height:100%; background:var(--ach-navy); opacity:.8; }
.ach-pills{ display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.ach-pill{ border:2px solid var(--ach-navy); border-radius:999px; padding:5px 12px; font-size:12px; font-weight:800; color:var(--ach-navy); background:#fff; }
@media (max-width: 991px){
  .ach-wrap{ padding:44px 0 56px; }
  .ach-section-title{ font-size:28px; }
  .ach-grid{ grid-template-columns:1fr; gap:18px; }
  .ach-card{ padding:28px 22px; min-height:auto; }
  .ach-card h3{ font-size:19px; }
  .ach-metric .ach-value{ font-size:58px; }
  .ach-metric .ach-unit{ font-size:15px; }
  .ach-desc{ font-size:13px; }
  .ach-wide{ grid-template-columns:1fr; gap:24px; }
  .ach-divider{ display:none; }
}
