/* Service Page Specific Styles */

/* Introduction Section */
.intro-section {
     width: 100%;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-image: url(../images/intro_bg.jpg);
    mix-blend-mode: multiply;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    background-size: 100% auto;
	margin: 0 0 100px 0;
}

.intro-container {
    max-width: 1170px;
    width: 100%;
    padding: 0 30px;
    text-align: center;
    font-family: var(--font-zen-old-mincho);
    font-size: var(--text-base);
    color: var(--text-color);
    line-height: 1.8;
}

/* Service Cards Section */
.service-cards-section {
    width: 100%;
    padding: 0 30px;
	margin: 0 0 100px;
}

.service-cards-container {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
}

.service-card {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    width: 349px;
	text-decoration: none;
}
.service-card:hover {
    opacity: .8;
}
.service-image {
    padding: 0 8%;
}








.service-card h3 {
    font-family: var(--font-zen-old-mincho);
    font-size: var(--text-4xl);
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.4;
    text-align: center;
}

.service-arrow {
    width: 36px;
    height: 27px;
    transform: rotateY(180deg);
}

.service-arrow svg {
    width: 100%;
    height: 100%;
}

/* Service Overview Section */
.service-overview-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 65px;
    align-items: center;
}

.service-overview-container {
    max-width: 1170px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
}

.service-overview-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 50px;
    padding-right: 30px;
}

.service-overview-text h2 {
    font-family: var(--font-zen-old-mincho);
    font-size: var(--text-4xl);
    font-weight: 500;
    color: var(--primary-brown);
    line-height: 1.4;
}

.service-overview-text h3 {
    font-family: var(--font-zen-old-mincho);
    font-size: var(--text-3xl);
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.4;
}

.service-overview-text p {
    font-family: var(--font-zen-old-mincho);
    font-size: var(--text-base);
    color: var(--text-color);
    line-height: 1.8;
}

.service-overview-image {
    max-width: 470px;
    mix-blend-mode: multiply;
}

/* Service Info Boxes */
.service-info-boxes {
    max-width: 1170px;
    width: 100%;
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
	margin: 0 0 100px;
}

.service-info-box {
    background: white;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
}

.service-info-box.orange-border {
    border: 4px solid var(--accent-orange);
}

.service-info-box.brown-border {
    border: 4px solid var(--primary-brown);
}

.service-info-box h4 {
    font-family: var(--font-zen-old-mincho);
    font-size: var(--text-xl);
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.4;
    text-align: center;
}

.service-info-line {
    height: 1px;
    background-color: #9a9a9a;
    width: 100%;
}

.service-consultation-list {
    display: flex;
    gap: 65px;
    justify-content: center;
    font-family: var(--font-zen-old-mincho);
    font-size: 1.22rem; /* 22px ÷ 18px = 1.22rem */
    color: var(--text-color);
    line-height: 1.8;
}

.service-consultation-list ul {
    list-style: disc;
    padding-left: 33px;
}

.service-consultation-list li {
    margin-bottom: 0;
}

.service-info-box p {
    font-family: var(--font-zen-old-mincho);
    font-size: 1.22rem; /* 22px ÷ 18px = 1.22rem */
    color: var(--text-color);
    line-height: 1.8;
    text-align: center;
}

/* Detailed Services Section */
.detailed-services-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 100px;
	align-items: center;
	margin: 0 0 100px;
}

.service-detail {
    max-width: 1170px;
    width: 100%;
    display: flex;
    align-items: flex-end;
    gap: 30px;
    padding: 0 30px;
}

.service-detail.reverse {
    flex-direction: row-reverse;
}

.service-detail-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 50px;
    max-width: 540px;
}

.service-detail-text h2 {
    font-family: var(--font-zen-old-mincho);
    font-size: var(--text-4xl);
    font-weight: 500;
    color: var(--primary-brown);
    line-height: 1.4;
}

.service-detail-text h3 {
    font-family: var(--font-zen-old-mincho);
    font-size: var(--text-3xl);
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.4;
}

.service-detail-text p {
    font-family: var(--font-zen-old-mincho);
    font-size: var(--text-base);
    color: var(--text-color);
    line-height: 1.8;
}

.independence-support-content ul {
    list-style: disc;
    padding-left: 27px;
    margin: 20px 0;
}

.independence-support-content li {
    font-family: var(--font-zen-old-mincho);
    font-size: var(--text-base);
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 0;
}

.independence-support-content strong {
    font-weight: 600;
}

.service-detail-image {
    flex: 1;
    max-width: 540px;
    aspect-ratio: 540/375.35;
    border-radius: 20px;
    mix-blend-mode: multiply;
}



/* Service Flow Section */
.service-flow-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 30px;
	margin: 0 0 100px;
}

.service-flow-container {
    max-width: 1170px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.service-flow-container h2 {
    font-family: var(--font-zen-old-mincho);
    font-size: var(--text-4xl);
    font-weight: 500;
    color: var(--primary-brown);
    line-height: 1.4;
    text-align: center;
}

.service-flow-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    width: 100%;
}

.service-flow-step {
    background: white;
    border: 1px solid #ffd2b2;
    border-radius: 20px;
    padding: 30px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-flow-step h3 {
    font-family: var(--font-zen-old-mincho);
    font-size: var(--text-3xl);
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.4;
}

.service-flow-line {
    height: 1px;
    background-color: #9a9a9a;
    width: 100%;
}

.service-flow-step p {
    font-family: var(--font-zen-old-mincho);
    font-size: var(--text-base);
    color: var(--text-color);
    line-height: 1.8;
}

.service-flow-arrow {
    width: 36px;
    height: 27px;
    transform: rotateY(180deg);
}

.service-flow-arrow svg {
    width: 100%;
    height: 100%;
}

/* PDF Links */
.pdf-links {
    display: flex;
    gap: 65px;
    align-items: center;
    justify-content: center;
    padding-top: 30px;
}

.pdf-link {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 20px 30px;
    background: linear-gradient(to right, #ffb989, var(--accent-orange));
    border-radius: 10px;
    color: white;
    text-decoration: none;
    cursor: pointer;
}
.pdf-link:hover {
    opacity: 0.9;
}
.pdf-icon {
    width: 36px;
    height: 36px;
}

.pdf-icon svg {
    width: 100%;
    height: 100%;
}

.pdf-link span {
    font-family: var(--font-zen-old-mincho);
    font-size: var(--text-4xl);
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
}

/* Service Information Section */
.service-info-section {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0 30px;
	
}

.service-info-container {
    max-width: 1170px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.service-info-content {
    width: 441px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.service-info-content h2 {
    font-family: var(--font-zen-old-mincho);
    font-size: var(--text-4xl);
    font-weight: 500;
    color: var(--primary-brown);
    line-height: 1.4;
}

.service-info-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service-info-item.disclaimer {
    padding-top: 30px;
    border-top: 1px solid #9a9a9a;
}

.service-info-item h3 {
    font-family: var(--font-zen-old-mincho);
    font-size: var(--text-3xl);
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.4;
}

.service-info-item ul {
    list-style: disc;
    padding-left: 27px;
}

.service-info-item li {
    font-family: var(--font-zen-old-mincho);
    font-size: var(--text-base);
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 0;
}

.service-info-image {
	width: 100%;
    max-width: 634px;
	mix-blend-mode: multiply;
}
.detail-text p{
	margin-bottom: 1em;
}

/* Service Page Responsive Design */
@media (max-width: 1200px) {

  
    
    .service-info-content {
        width: 100%;
        max-width: 600px;
    }
    
    .service-info-image {
        width: 100%;
        max-width: 634px;
        height: 400px;
    }
       
 
}

@media (max-width: 768px) {
    .pdf-links {
        gap: 20px;
    }
    
    .service-overview-text {
        padding-right: 0;
    }
    
    .service-overview-image {
        width: 100%;
        max-width: 470px;
    }
    
     .service-overview-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .service-detail-text {
        max-width: none;
    }
    
    .service-detail-image {
        max-width: none;
        width: 100%;
    }
    
.service-detail {
  align-items: flex-start;
	
}
.service-detail-text h2,.service-flow-container h2,.service-info-content h2 {
  font-size: 1.6rem;
  
}
	.service-consultation-list {
  font-size: 1rem;
}
	.service-info-box p {
  font-size: 1rem;
		text-align: left;
}
	.service-card h3 {
  font-size: 2.5vw;
}
.service-overview-text h3,.service-flow-step h3,.service-detail-text h3,.service-info-item h3 {
  font-size: 1.2rem;
}
      .service-detail-image {
    padding-top: 10vw;
  }
    .pdf-link span {
        font-size: 2.5vw;
    }
	.detailed-services-section {
 gap: 50px;
}
}

@media (max-width: 480px) {
	.service-flow-section,.service-info-boxes {
  padding: 0 20px;
  margin: 0 0 60px;
}
	.detailed-services-section,.intro-section {
  margin: 0 0 60px;
}
	.service-info-section,.service-detail,.service-overview-container,.intro-container,.page-header-content {
  padding: 0 20px;
}
	.service-cards-container {
        flex-direction: column;
        gap: 40px;
    }
    .service-info-box {
  padding: 20px;
}
   
	.service-consultation-list {
        flex-direction: column;
        gap: 20px;
    }
    
    .service-detail,
    .service-detail.reverse {
        flex-direction: column;
        gap: 30px;
    }
	  .service-info-container {
        flex-direction: column;
        gap: 30px;
    }

    .service-detail-text h2,.service-flow-container h2,.service-info-content h2 {
  font-size: 6vw;
  
}
    .service-overview-text h3,
    .service-detail-text h3 {
        font-size: 1.2rem;
    }
 
    .service-card h3 {
        font-size: var(--text-xl);
    }
    
    .service-info-box h4 {
        font-size: var(--text-lg);
    }
    
    .service-flow-step h3 {
        font-size: 1.22rem; /* 22px ÷ 18px = 1.22rem */
    }
    
    .pdf-link span {
        font-size: var(--text-lg);
    }
   .pdf-links {
        flex-direction: column;
        gap: 20px;
    }
}