/* Main CSS for TM Medical Consultant Website */

/* Common Styles */
body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
  line-height: 1.8;
}

main {
  flex: 1 0 auto;
  padding-top: 20px;
  padding-bottom: 40px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.flow-text {
  line-height: 1.8;
}

/* Navigation */
.brand-logo {
  font-weight: 500;
  padding-left: 10px !important;
}

@media only screen and (max-width: 992px) {
  .brand-logo {
    font-size: 1.5rem !important;
  }
}

/* Hero Section */
.hero {
  padding: 40px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
}

.hero h1 {
  font-weight: 700;
  margin-bottom: 10px;
}

/* Cards */
.card-panel {
  padding: 24px;
  margin: 0.5rem 0 1rem 0;
  border-radius: 4px;
  transition: box-shadow 0.3s ease;
}

.card-panel:hover {
  box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.09);
}

/* Service Items in Consultant Page */
.service-item {
  padding: 15px;
  text-align: center;
  margin-bottom: 30px;
}

.service-item i.material-icons {
  margin-bottom: 15px;
  display: block;
}

.service-item h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

/* Timeline in Consultant Page */
.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline:before {
  content: '';
  position: absolute;
  height: 100%;
  width: 4px;
  background: #e0f2f1;
  left: 50px;
  top: 0;
}

.timeline li {
  position: relative;
  margin-bottom: 40px;
  padding-left: 120px;
  list-style-type: none;
}

.timeline-badge {
  position: absolute;
  left: 40px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  font-weight: bold;
  margin-left: -20px;
  z-index: 1;
}

.timeline-content {
  padding: 15px;
  background: #f5f5f5;
  border-radius: 4px;
  position: relative;
}

.timeline-content h4 {
  margin-top: 0;
  font-size: 1.2rem;
  color: #00897b;
}

/* Contact Form */
.contact-form .input-field .prefix {
  font-size: 1.5rem;
  top: 0.5rem;
}

.contact-form .input-field .prefix ~ label {
  margin-left: 3rem;
}

.contact-form .input-field .prefix ~ input,
.contact-form .input-field .prefix ~ textarea {
  margin-left: 3rem;
  width: calc(100% - 3rem);
}

/* Company Info */
.company-info p {
  margin: 10px 0;
}

.company-info i {
  vertical-align: middle;
  margin-right: 8px;
}

/* Map Placeholder */
.map-placeholder {
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  margin-bottom: 15px;
}

.map-placeholder i {
  margin-bottom: 10px;
}

/* Footer */
footer.page-footer {
  margin-top: 0;
}

/* Additional Warmth and Feel */
.card, .card-panel {
  border-radius: 8px;
}

.btn, .btn-large {
  border-radius: 30px;
  padding: 0 30px;
}

.btn-large:hover {
  box-shadow: 0 5px 15px rgba(0, 137, 123, 0.4);
}

/* Subtle box shadow for cards to give depth */
.card, .card-panel {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Add warmth to images */
img {
  border-radius: 8px;
}

/* Smooth transitions */
a, button, .card, .card-panel {
  transition: all 0.3s ease;
}