/* AUR風サービス一覧ページ用のスタイル */
:root {
  --aur-primary: #3b5c88;
  --aur-secondary: #6f9cd3;
  --aur-accent: #ea5504;
  --aur-text: #333333;
  --aur-light: #f5f5f5;
  --aur-dark: #222222;
  --aur-border: #e0e0e0;
  --aur-shadow: rgba(0, 0, 0, 0.08);
  --aur-transition: all 0.3s ease;
  --marui-main-color: #006cb8; /* 丸井グループ風のテーマカラー */
  --marui-text-color: #333;
  --marui-bg-color: #f8f8f8;
  --marui-hover-color: #0086e3;
  --marui-accent-color: #ff4d00;
  --marui-light-gray: #eee;
}

/* 代表挨拶ページと同じスタイルのタイトルエリア */
.message-title-area {
    position: relative;
    padding: 120px 0 80px;
    background-color: #f5f7fa;
    overflow: hidden;
}

.message-title-area::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background-color: #3c6e71;
    clip-path: polygon(25% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 1;
}

.message-title-container {
    position: relative;
    z-index: 2;
}

/* 全体のセクションスタイル */
.aur-section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.aur-section-header {
  text-align: center;
  margin-bottom: 50px;
}

.aur-section-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 15px;
}

.aur-title-en {
  font-family: 'Poppins', sans-serif;
  font-size: 48px;
  font-weight: 300;
  letter-spacing: 3px;
  color: var(--aur-primary);
  opacity: 0.8;
  margin-bottom: 5px;
  line-height: 1.2;
}

.aur-title-ja {
  font-size: 18px;
  font-weight: 500;
  color: var(--aur-text);
  position: relative;
  padding-bottom: 20px;
}

.aur-title-ja:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  background-color: var(--aur-accent);
}

.aur-section-description {
  font-size: 16px;
  line-height: 1.8;
  color: var(--aur-text);
  max-width: 800px;
  margin: 0 auto;
}

/* ページタイトルエリア (メッセージページと同じテイスト) */
.page-title-area {
  position: relative;
  padding: 120px 0 80px;
  background-color: #f5f7fa;
  overflow: hidden;
}

.page-title-area::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background-color: #3c6e71;
  clip-path: polygon(25% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 1;
}

.marui-page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.marui-page-title-wrap {
  text-align: center;
  /* opacity: 0; */
  /* transform: translateY(30px); */
  /* animation: fadeIn 1s forwards 0.5s; */
}

.marui-page-title {
  font-size: 48px;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.05em;
  color: var(--marui-text-color);
  font-family: 'Poppins', sans-serif;
}

.marui-page-subtitle {
  font-size: 16px;
  margin-top: 10px;
  color: var(--marui-main-color);
  letter-spacing: 0.1em;
}

/* パンくずリスト */
.marui-breadcrumb {
  background-color: #fff;
  padding: 15px 0;
  border-bottom: 1px solid var(--marui-light-gray);
  margin-bottom: 0;
}

.breadcrumb-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  font-size: 12px;
  color: #888;
}

.breadcrumb-container a {
  color: var(--marui-text-color);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb-container a:hover {
  color: var(--marui-main-color);
}

/* ヒーローセクション */
.aur-hero-section {
  position: relative;
  background-color: var(--aur-light);
  padding: 100px 0 80px;
  overflow: hidden;
  display: none; /* 丸井風タイトルエリアを使うので非表示 */
}

/* コンセプトセクション */
.aur-concept-section {
  padding: 80px 0;
  background-color: #fff;
}

.aur-concept-header {
  margin-bottom: 50px;
  text-align: center;
}

.aur-concept-title {
  font-size: 32px;
  font-weight: 600;
  color: var(--aur-primary);
  line-height: 1.4;
  margin-bottom: 20px;
}

.aur-concept-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.aur-concept-text {
  flex: 1;
  font-size: 16px;
  line-height: 1.8;
  color: var(--aur-text);
}

.aur-concept-image {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 15px 30px var(--aur-shadow);
}

.aur-concept-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--aur-transition);
}

/* サービス一覧セクション */
.aur-service-list-section {
  padding: 100px 0;
  background-color: var(--aur-light);
}

.aur-service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.aur-service-item {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 20px var(--aur-shadow);
  transition: var(--aur-transition);
}

.aur-service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px var(--aur-shadow);
}

.aur-service-link {
  display: block;
  color: var(--aur-text);
  text-decoration: none;
}

.aur-service-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.aur-service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--aur-transition);
}

.aur-service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--aur-primary);
  opacity: 0;
  transition: var(--aur-transition);
}

.aur-service-content {
  padding: 25px;
}

.aur-service-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--aur-primary);
}

.aur-service-description {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--aur-text);
  min-height: 72px;
}

.aur-service-more {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.aur-more-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--aur-accent);
  margin-right: 8px;
}

.aur-more-icon {
  position: relative;
  width: 20px;
  height: 1px;
  background-color: var(--aur-accent);
  transition: var(--aur-transition);
}

.aur-more-icon:after {
  content: '';
  position: absolute;
  top: -3px;
  right: 0;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--aur-accent);
  border-right: 1px solid var(--aur-accent);
  transform: rotate(45deg);
}

/* サービス活用例セクション */
.aur-case-section {
  padding: 100px 0;
  background-color: #fff;
}

.aur-case-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.aur-case-item {
  display: flex;
  background-color: var(--aur-light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 16px var(--aur-shadow);
  transition: var(--aur-transition);
}

.aur-case-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px var(--aur-shadow);
}

.aur-case-number {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 120px;
  background-color: var(--aur-primary);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 20px;
  text-align: center;
}

.aur-case-content {
  flex: 1;
  padding: 25px;
}

.aur-case-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--aur-primary);
  margin-bottom: 15px;
}

.aur-case-body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--aur-text);
}

.aur-case-services {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.aur-case-service-tag {
  display: inline-block;
  padding: 5px 12px;
  background-color: rgba(59, 92, 136, 0.1);
  color: var(--aur-primary);
  font-size: 13px;
  font-weight: 500;
  border-radius: 30px;
}

/* お問い合わせセクション */
.aur-contact-section {
  padding: 80px 0;
  background-color: var(--aur-light);
}

.aur-contact-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.aur-contact-title {
  font-size: 28px;
  font-weight: 600;
  color: var(--aur-primary);
  margin-bottom: 20px;
}

.aur-contact-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--aur-text);
  margin-bottom: 40px;
}

.aur-contact-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.aur-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  background-color: #fff;
  color: var(--aur-text);
  text-decoration: none;
  border-radius: 5px;
  box-shadow: 0 5px 15px var(--aur-shadow);
  transition: var(--aur-transition);
  min-width: 220px;
}

.aur-contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px var(--aur-shadow);
}

.aur-contact-btn i {
  font-size: 24px;
  margin-right: 15px;
}

.tel-btn i {
  color: var(--aur-accent);
}

.mail-btn i {
  color: var(--aur-primary);
}

.aur-contact-btn span {
  text-align: left;
  font-size: 15px;
  line-height: 1.4;
}

.aur-contact-btn strong {
  font-size: 18px;
  font-weight: 600;
  color: var(--aur-primary);
}


.service-flow-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.flow-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.flow-header {
  text-align: center;
  margin-bottom: 40px;
}

.flow-title {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 20px;
  display: inline-block;
}

.flow-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #f37b7b;
}

.service-flow-chart {
  max-width: 800px;
  margin: 0 auto;
}

.flow-step-box {
  text-align: center;
  padding: 15px 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  margin: 0 auto 20px;
  font-weight: 600;
  width: 80%;
  position: relative;
}

.flow-step-box-start {
  background-color: #f8e6e6;
  border: 1px solid #f5d0d0;
}

.flow-check-box {
  background-color: #f8e6e6;
  border: 1px solid #f5d0d0;
}

.flow-check-content {
  position: relative;
}

.flow-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background-color: #f37b7b;
  color: white;
  font-size: 14px;
  font-weight: bold;
  position: absolute;
  top: -10px;
  right: -10px;
}

.flow-number-box {
  background-color: #e67272;
}

.flow-number-circle {
  background-color: #7b68ee;
}

.flow-number-side {
  background-color: #4caf50;
}

.flow-number-note {
  background-color: #ff9800;
}

.flow-arrow {
  text-align: center;
  margin: -10px auto 10px;
  color: #aaa;
  font-size: 24px;
}

.flow-path-split {
  display: flex;
  justify-content: space-between;
  width: 80%;
  margin: 0 auto;
  position: relative;
}

.flow-path-label {
  font-weight: 600;
  color: #666;
  margin-bottom: 10px;
}

.path-left {
  margin-left: 25%;
}

.path-right {
  margin-right: 25%;
}

.flow-arrow-split {
  position: relative;
  width: 100%;
  height: 30px;
  margin-bottom: 15px;
}

.arrow-left, .arrow-right {
  position: absolute;
  width: 30%;
  height: 30px;
  border-top: 2px solid #aaa;
}

.arrow-left {
  left: 20%;
  border-left: 2px solid #aaa;
  border-top-left-radius: 10px;
  transform: translateY(15px);
}

.arrow-left:after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: -2px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid #aaa;
  transform: translateX(-7px);
}

.arrow-right {
  right: 20%;
  border-right: 2px solid #aaa;
  border-top-right-radius: 10px;
  transform: translateY(15px);
}

.arrow-right:after {
  content: "";
  position: absolute;
  bottom: -15px;
  right: -2px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid #aaa;
  transform: translateX(7px);
}

.flow-split-content {
  display: flex;
  justify-content: space-between;
  margin: 0 auto 20px;
  width: 95%;
  gap: 20px;
}

.flow-column-left, .flow-column-right {
  flex: 1;
}

.flow-column-left-content, .flow-column-right-content {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  overflow: hidden;
}

.flow-column-left .flow-path-label, .flow-column-right .flow-path-label {
  text-align: center;
}

.flow-column-header {
  text-align: center;
  padding: 10px;
  color: white;
  font-weight: 600;
}

.nursing-header {
  background-color: #f37b7b;
}

.medical-header {
  background-color: #5abfbc;
}

.flow-column-content {
  padding: 15px;
}

.flow-step-inner {
  background-color: #f9f9f9;
  border-radius: 6px;
  padding: 15px;
  margin-bottom: 15px;
}

.flow-inner-header {
  text-align: center;
  font-weight: 600;
  margin-bottom: 10px;
  position: relative;
}

.flow-inner-detail {
  background-color: #fff9f9;
  border-radius: 6px;
  padding: 10px;
}

.flow-detail-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.flow-detail-item {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
  padding: 10px;
  position: relative;
  font-size: 14px;
}

.flow-side-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 10px 0 15px;
}

.side-label {
  font-weight: 600;
  margin-bottom: 5px;
}

.side-arrow-body {
  height: 40px;
  position: relative;
  border-right: 2px dashed #4caf50;
}

.side-arrow-body:after {
  content: "";
  position: absolute;
  right: -8px;
  bottom: 0;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 10px solid #4caf50;
}

.flow-visit-nurse {
  background-color: #e8e5f7;
  border: 1px solid #d1cce9;
}

.flow-category-box {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
}

.flow-category-title {
  background-color: #5abfbc;
  color: white;
  padding: 8px;
  font-weight: 600;
  text-align: center;
}

.flow-category-content {
  padding: 10px;
  font-size: 14px;
}

.flow-category-content ul {
  padding-left: 20px;
  margin: 5px 0;
}

.flow-note {
  background-color: #fff3e0;
  border-radius: 6px;
  padding: 10px;
  font-size: 12px;
  position: relative;
  margin-top: 15px;
}

.flow-merge-arrow {
  text-align: center;
  margin: 20px auto 10px;
  color: #aaa;
  font-size: 24px;
}

.flow-instruct-box {
  background-color: #e8f5e9;
  border: 1px solid #c8e6c9;
}

.flow-instruct-content {
  position: relative;
}

.flow-contract-box {
  background-color: #e3f2fd;
  border: 1px solid #bbdefb;
}

.flow-start-box {
  background-color: #e8f5e9;
  border: 1px solid #c8e6c9;
}

/* アニメーション */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* レスポンシブスタイル */
@media screen and (max-width: 1024px) {
  .aur-service-list {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .aur-title-en {
    font-size: 40px;
  }
  
  .marui-page-title {
    font-size: 40px;
  }
}

@media screen and (max-width: 768px) {
  .aur-hero-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .aur-hero-content {
    padding-right: 0;
    margin-bottom: 40px;
  }
  
  .aur-hero-title {
    align-items: center;
  }
  
  .aur-concept-content {
    flex-direction: column;
  }
  
  .aur-concept-text {
    margin-bottom: 30px;
  }
  
  .aur-contact-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .aur-contact-btn {
    width: 100%;
  }
  
  .aur-case-item {
    flex-direction: column;
  }
  
  .aur-case-number {
    width: 100%;
    padding: 10px;
  }
  
  .marui-page-title {
    font-size: 32px;
  }
  
  .marui-page-subtitle {
    font-size: 14px;
  }
  .flow-split-content {
      flex-direction: column;
      width: 90%;
  }
  
  .flow-step-box {
      width: 90%;
  }
  
  .flow-path-split {
      width: 90%;
  }
  
  .path-left {
      margin-left: 15%;
  }
  
  .path-right {
      margin-right: 15%;
  }
  
  .flow-column-left, .flow-column-right {
      margin-bottom: 20px;
  }
}

@media screen and (max-width: 576px) {
  .aur-service-list {
    grid-template-columns: 1fr;
  }
  
  .aur-title-en {
    font-size: 32px;
  }
  
  .aur-title-ja {
    font-size: 16px;
  }
  
  .aur-concept-title {
    font-size: 26px;
  }
  
  .aur-section-header {
    margin-bottom: 30px;
  }
}