img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

a {
  
    transition: 0.2s;
}

a:hover {
    opacity: 0.7;
    transition: 0.2s;
}

/* btn_line */

.btn_line {
    display: block;
    width: 80%;
    margin: 0 auto;

}

/* layout */

.main .inner {
    max-width: 600px;
    margin: 80px auto 160px auto;
    padding: 0;
    box-shadow: 0px 0px 5px 4px #c6c6c6;
}

section {
    position: relative;
}

/* section */

section.features .btn_line{
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

section.features .btn_line_bottom {
    position: absolute;
    bottom: 0.8%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    z-index: 1;
}


section.how_to_use .btn_line {
    position: absolute;
    top: 24%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

section.qa {
    background-color: #e9f5f3;
}

/* voice section */

.voice {
    padding: 60px 20px;
    background-color: #f8f9fa;
}

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

.voice-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #5cb85c;
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.voice-slider {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.voice-slides-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.voice-slide {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.voice-slide.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.voice-card {
    background: linear-gradient(135deg, #d4f5b0 0%, #c8f0a0 100%);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 2px 3px 5px 4px #c6c6c66b;
    margin: 10px;
}

.voice-profile {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 20px;
}

.voice-avatar {
    flex-shrink: 0;
}

.voice-avatar img {
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    object-fit: cover;
}

.voice-info {
    flex-grow: 1;
}

.voice-job {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin: 0 0 8px 0;
    font-family: 'Noto Sans JP', sans-serif;
}

.voice-name {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
}

.voice-comment {
    line-height: 1.7;
}

.voice-comment p {
    font-size: 16px;
    color: #333;
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
}

.voice-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.voice-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: none;
    background-color: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.voice-dot.active {
    background-color: #5cb85c;
    transform: scale(1.2);
}

.voice-dot:hover {
    background-color: #5cb85c;
    transform: scale(1.1);
}

/* Responsive design */
@media (max-width: 768px) {
    .voice {
        padding: 40px 15px;
    }
    
    .voice-header h2 {
        font-size: 28px;
    }
    
    .voice-card {
        padding: 25px;
    }
    
    .voice-profile {
        gap: 15px;
    }
    
    .voice-avatar img {
        width: 70px;
        height: 70px;
    }
    
    .voice-job {
        font-size: 15px;
    }
    
    .voice-name {
        font-size: 16px;
    }
    
    .voice-comment p {
        font-size: 15px;
    }
}

/* footer */

.footer {
    background-color: #E5F7F4;
    padding: 40px;
}

.footer .footer_inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
    gap: 24px;
    width: 50%;
    margin: 0 auto;
}   

.footer .footer_inner .corp_item {
    display: flex;
    flex-direction: column;
    align-items: start;
    text-decoration: none;
    color: #000;
}
.footer .footer_inner .corp_item .corp_item_name {
    display: flex;
    align-items: center;
}
.footer .footer_inner .corp_item .corp_item_logo {
    margin: 0;
    height: 30px;
}
.footer .footer_inner .corp_item .corp_item_logo--passmed {
    height: 50px;
}
.footer .footer_inner .corp_item .external-link-icon {
    display: inline-block;
    margin-left: 4px;
    vertical-align: text-top;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.footer .footer_inner .corp_item:hover .external-link-icon {
    opacity: 1;
}