/* ============================================
   ルージュ訪問看護ステーション 秋津営業所
   HTML5 + CSS スタイルシート
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --primary: #1e40af;
  --primary-light: #3b82f6;
  --primary-dark: #1e3a8a;
  --accent: #ec4899;
  --accent-light: #f472b6;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f9fafb;
  --bg-white: #ffffff;
  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
	font-size: 16px;
}
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  position:relative;
}
.guide-flow h3{
	margin:0px auto 0;
	padding-top:60px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* ============================================
   Header & Navigation
   ============================================ */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-dark);
}

.logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  font-weight: bold;
  font-size: 1.5rem;
}

.logo-text h1 {
  font-size: 1rem;
  font-weight: bold;
  margin: 0;
}

.logo-text p {
  font-size: 0.75rem;
  color: var(--text-light);
  margin: 0;
}

nav {
  display: none;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  nav {
    display: flex;
  }
}

nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--primary);
}

.phone-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary);
  color: var(--bg-white);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  transition: background-color 0.3s ease;
}
.phone-button:hover {
  background-color: var(--primary-dark);
}
.page-ttl.js-inview-acv:after {
    width: 100%;
}
.page__flex {
    justify-content: space-between;
}
.page-ttl__flex1-ttl-box-sub-txt{
	font-weight:normal;
	font-size:18px;
}
.page-ttl__flex1-ttl-box-jp-txt{
    line-height: 1em;
}
@media screen and (min-width: 481px) {
    .page-ttl:after {
        background-image: url(../src/img/akitsu/akitsu.jpg?123);
        background-position: 50% 50%;
        background-repeat: no-repeat;
        background-size: contain;
    }
}
@media screen and (max-width:768px){
	.page-ttl__inner {
		padding: 8.8rem 5px 1.7rem 5px;
	}
	.page__flex {
		flex-wrap: wrap;
	}
	.page__flex > * {
    flex-shrink: 0; 
    width: 100%;
	}
    .page-ttl:after {
        background-image: url(../src/img/akitsu/akitsuS.png);
		background-position: right 35% top;
        background-repeat: no-repeat;
        background-size: contain;
		height: 350px;
    }
	p.place { display:inline;}
}
@media screen and (max-width:480px){
    .page-ttl:after {
		height: 250px;
    }
}
/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  height: 500px;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.8), rgba(236, 72, 153, 0.6)), 
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23f3f4f6" width="1200" height="600"/></svg>');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--bg-white);
  overflow: hidden;
}

.hero-content {
  z-index: 10;
  max-width: 600px;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.5rem;
  }
}

.hero p {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

.hero-description {
  font-size: 0.95rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--bg-white);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background-color: var(--bg-white);
  color: var(--text-dark);
  border: 2px solid var(--bg-white);
}

.btn-secondary:hover {
  background-color: transparent;
  color: var(--bg-white);
}

/* ============================================
   Features Section
   ============================================ */

.features {
  padding: 4rem 0;
  background-color: var(--bg-white);
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
    margin-bottom: 60px;
    font-size: 14px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-card {
  padding: 2rem;
  background-color: var(--bg-light);
  border-radius: 0.75rem;
  border-left: 4px solid var(--primary);
  transition: all 0.3s ease;
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  background-color: var(--bg-white);
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 0.75rem;
  color: var(--primary);
	padding-top:10px;
	padding-bottom:10px;
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.8;
}

/* ============================================
   Services Section
   ============================================ */

.services {
  padding: 4rem 0;
  background-color: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-item {
  background-color: var(--bg-white);
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
	z-index:3;
}

.service-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-item h4 {
  font-size: 22px;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.service-item p {
  color: var(--text-light);
}

/* ============================================
   Cases & Testimonials Section
   ============================================ */

.cases {
  padding: 4rem 0;
  background-color: var(--bg-white);
}

.cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .cases-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.case-card {
  background-color: var(--bg-light);
  padding: 2rem;
  border-radius: 0.75rem;
  border-top: 3px solid var(--accent);
}

.case-card h4 {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.case-card img {
	max-width:100%;
}
.case-card .case-meta {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.case-card p {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 14px;
}

.testimonials {
  background-color: #fce9f4;
  padding: 2rem;
  border-radius: 0.75rem;
  text-align: center;
}

.testimonials p {
  color: var(--text-dark);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.testimonials p:last-child {
  margin-bottom: 0;
}

/* ============================================
   Staff Section
   ============================================ */

.staff {
  padding: 4rem 0;
  background: linear-gradient(to bottom, #fff, #fce7f3);
}

.staff-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .staff-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .staff-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.staff-card {
  background-color: var(--bg-white);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.staff-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.staff-image {
  width: 100%;
  object-fit: cover;
  background-color: var(--bg-light);
}

.staff-info {
  padding: 1.5rem;
}

.staff-info h3 {
  font-size: 22px;
  font-weight: bold;
  color: var(--text-dark);
  margin:0 0 20px;
	padding-top:0;
	font-family:Note serif JP, Serif;
}

.staff-info .role {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.staff-info .detail {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.staff-info .detail strong {
  color: var(--text-dark);
}

.staff-message {
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-color);
  font-size: 12px;
  color: var(--text-light);
  font-style: italic;
  margin-top: 0.75rem;
}

/* ============================================
   Blog Section
   ============================================ */

.blog {
  padding: 4rem 0;
  background-color: var(--bg-light);
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.blog-card {
	background-color: var(--bg-light);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
	z-index:3;
}

.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.blog-meta {
  padding: 1.5rem 1.5rem 0 1.5rem;
  font-size: 16px;
  color: var(--text-light);
}

.blog-date {
  display: inline-block;
  margin-right: 1rem;
}

.blog-category {
  display: inline-block;
  background-color: var(--primary);
  color: var(--bg-white);
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
  font-size: 12px;
  font-weight: 600;
}

.blog-content {
  padding: 1rem 1.5rem 1.5rem;
}

.blog-content h3 {
  font-size: 18px;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
	padding-top:10px;
}

.blog-content p {
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.6;
}

/* ============================================
   FAQ Section
   ============================================ */

.faq {
  padding: 4rem 0;
  background-color: var(--bg-white);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  overflow: hidden;
	z-index: 3;
    position: relative;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  background-color: var(--bg-light);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
  font-weight: 600;
  color: var(--text-dark);
}

.faq-question:hover {
  background-color: #ede9fe;
}

.faq-toggle {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item input[type="checkbox"] {
  display: none;
}

.faq-item input[type="checkbox"]:checked ~ .faq-answer {
  display: block;
  animation: slideDown 0.3s ease;
}

.faq-item input[type="checkbox"]:checked ~ .faq-question .faq-toggle {
  transform: rotate(180deg);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-answer {
  display: none;
  padding: 1.5rem;
  background-color: var(--bg-white);
  color: var(--text-light);
  line-height: 1.8;
  font-size: 16px;
}

/* ============================================
   Contact Form Section
   ============================================ */

.contact-form {
  padding: 4rem 0;
  background-color: var(--bg-light);
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--bg-white);
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary);
  color: var(--bg-white);
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form-submit:hover {
  background-color: var(--primary-dark);
}

/* ============================================
   Access Section
   ============================================ */

.access {
  padding: 4rem 0;
  background-color: var(--bg-white);
}
.access-container{
	max-width: 800px;
    margin: 60px auto 10px;
}
.access-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.access-info-card {
  background-color: var(--bg-light);
  padding: 1.5rem;
  border-radius: 0.75rem;
  border-left: 4px solid var(--primary);
  transition: all 0.3s ease;
	z-index:3;
}

.access-info-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.access-info-card strong {
  display: block;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 18px;
}

.access-info-card p {
  color: var(--text-light);
  font-size: 15px;
}

.access-map {
  width: 100%;
  height: 400px;
  background-color: var(--bg-light);
  border-radius: 0.75rem;
}

/* ============================================
   CTA Section
   ============================================ */

.cta {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--bg-white);
  text-align: center;
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons a {
  padding: 0.75rem 1.5rem;
  background-color: var(--bg-white);
  color: var(--primary);
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cta-buttons a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btns .page__flex{
	justify-content: space-around;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 480px) {
	.guide-flow__inner {
		padding: 10px 20px 0;
	}
	.features {
		padding: 20px 0;
	}
	.guide-flow h3 {
		padding-top: 0px;
	}
	.guide-flow h3.guide-flow__cnt-ttl {
		padding-top: 40px;
	}
	.section-subtitle {
		margin-bottom: 40px;
	}
	li.btns__list-item .btns__list-item-link-top-btn{
		    justify-content: center;
	}
	li.btns__list-item .btns__list-item-link-top-btn span{
		   width:auto;
	}
	.js-top-active .back-top,
	.fix__list-item-link.--1,
	.fix__list-item-link.--2{
		justify-content: center;
		z-index:10;
	}
	nav {
		display: block;;
	}
	.footer__flex .footer__flex2 li{
		width: auto;
	}
	.fix.page__1 {
		z-index:10;
	}
}

/* ============================================
   Utility Classes
   ============================================ */

.divider {
  border-top: 1px solid var(--border-color);
  margin: 2rem 0;
}

.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 1rem;
}

.mb-4 {
  margin-bottom: 1rem;
}
