/* Voice Page Styles */

.voice {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.voice h1 {
    color: #297842;
    font-family: "Noto Sans JP", Sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

/* Elementor Heading Title Styles */
.elementor-heading-title {
    font-family: "Noto Sans JP", Sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.elementor-size-default {
    font-size: inherit;
}

/* Hidden Classes */
.voice-hidden-mobile {
    display: block;
}

.voice-hidden-desktop,
.voice-hidden-tablet {
    display: none;
}

/* Lazy Loading Classes */
.lazy-loaded,
.lazy-hidden {
    transition: opacity 0.3s ease;
}

.lazy-hidden {
    opacity: 0;
}

.lazy-loaded {
    opacity: 1;
}

/* Voice Section Styles */
.voice-section {
    width: 100%;
    padding: 40px 0;
    background-color: #fff;
}

/* Elementor Background Image for Voice Section */
.voice-section-bg{
    background-image: url("/html2/img/voice/グループ-165.webp");
    background-repeat: no-repeat;
    background-size: cover;
}

.voice-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    flex-wrap: wrap;
}

.voice-column {
    width: 100%;
    position: relative;
}

.voice-widget-wrap {
    position: relative;
    padding: 10px;
}

.voice-widget {
    position: relative;
}

.voice-widget-container {
    position: relative;
}

/* Voice Image Styles */
.voice-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

.voice-image img {
    max-width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

/* Voice Heading Styles */
.voice-heading {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 20px 0;
}

.voice-heading-title {
    font-size: 2rem;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
}

.voice-heading h2 {
    font-size: 3rem;
    color: #C0272D;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 900;
}

.voice-heading h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: bold;
}

/* Voice Inner Section */
.voice-inner-section {
    width: 100%;
    padding: 3% 5% 3% 5%;
    background-color: #fff;
    border-radius: 5px 5px 5px 5px;
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
}

.voice-inner-section:not(:first-child) {
    margin-top: 30px;
}

.voice-inner-section:after {
    content: "";
    display: table;
    clear: both;
}

.voice-inner-section .voice-container {
    display: flex;
    flex-wrap: wrap;
}

.voice-inner-column {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.voice-inner-column-50 {
    flex: 0 0 50%;
    box-sizing: border-box;
    padding-right: 10px;
    align-self: flex-start;
}

.voice-inner-column-50:last-child {
    padding-right: 0;
    padding-left: 10px;
}

/* Voice Inner Section Column Widths */
.voice-inner-section .voice-inner-column:first-child {
    flex: 0 0 30%;
    box-sizing: border-box;
    padding-right: 10px;
    align-self: flex-start;
}

.voice-inner-section .voice-inner-column:last-child {
    flex: 0 0 70%;
    box-sizing: border-box;
    padding-left: 10px;
    align-self: flex-start;
}

/* Voice Widget Styles */
.voice-widget:not(:last-child) {
    margin-bottom: 20px;
}

.voice-widget-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.voice-widget-wrap > .voice-widget {
    width: 100%;
}

/* Voice Image in Inner Section */
.voice-inner-section .voice-image img {
    width: 100%;
    height: auto;
}

/* Voice Heading in Inner Section */
.voice-inner-section .voice-heading .elementor-heading-title {
    font-size: 1.2rem;
    color: #C0272D;
    font-weight: 600;
    margin-bottom: 10px;
}

.voice-inner-section .voice-heading h3.elementor-heading-title {
    font-size: 1.5rem;
    color: #333;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.4;
}

/* Voice Text Editor in Inner Section */
.voice-inner-section .voice-text-editor {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    font-family: "Noto Sans JP", Sans-serif;
}

.voice-inner-section .voice-text-editor p {
    margin-bottom: 15px;
}


@media (max-width: 767px) {
    .voice-inner-column-50 {
        flex: 0 0 100%;
        padding: 0;
    }
    
    .voice-inner-section .voice-inner-column:first-child,
    .voice-inner-section .voice-inner-column:last-child {
        flex: 0 0 100%;
        padding: 0;
    }
}

/* Voice Text Editor */
.voice-text-editor {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

.voice-text-editor p {
    margin-bottom: 15px;
}


/* Voice Number Badge */
.voice-number {
    display: inline-block;
    background: linear-gradient(to top, #691015, #97151B 20%, #d9030a);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Voice Content Text Styles */
.voice-content-text p {
    font-family: "Noto Sans JP", Sans-serif;
    font-weight: 400;
    color: #000000;
}

@media (max-width: 767px) {
    .voice-content-text p {
        font-size: 14px;
        line-height: 1.5em;
    }
}

/* Voice Heading Title Styles for VOICE 01, 02, 03 */
.voice-heading-title.voice-size-default {
    font-family: "Noto Sans JP", Sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #000000;
    line-height: 1.5em;
}

/* Voice Heading Title Styles for h3 elements with specific class */
.voice-title-h3 {
    font-family: "Noto Sans JP", Sans-serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #0a8f20 !important;
}

@media (max-width: 767px) {
    .voice-title-h3 {
        font-size: 15px !important;
        line-height: 1.5em !important;
    }
}

/* Voice Image Container */
.voice-image-container {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.voice-image-container img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (min-width: 768px) and (max-width: 1024px) {
    .voice-container {
        padding: 0 20px;
    }
    
    .voice-heading h2 {
        font-size: 2.5rem;
    }
    
    .voice-hidden-tablet {
        display: none;
    }
    
    .voice-hidden-desktop {
        display: block;
    }
}

@media (max-width: 767px) {
    .voice {
        padding: 15px;
    }
    
    .voice h1 {
        font-size: 20px;
    }
    
    
    .voice-container {
        padding: 0 15px;
    }
    
    .voice-heading h2 {
        font-size: 2rem;
    }
    
    .voice-heading h3 {
        font-size: 1.25rem;
    }
    
    .voice-inner-section .voice-container {
        flex-direction: column;
    }
    
    .voice-inner-column-50 {
        flex: 0 0 100%;
    }
    
    .voice-hidden-mobile {
        display: none;
    }
    
    .voice-hidden-tablet {
        display: block;
    }
    
    .voice-inner-section .voice-heading h3.elementor-heading-title {
        font-size: 1.3rem;
    }
    
    .voice-inner-section .voice-text-editor {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .voice-container {
        padding: 0 10px;
    }
    
    .voice-heading h2 {
        font-size: 1.75rem;
    }
    
    .voice-heading h3 {
        font-size: 1.125rem;
    }
    
    .voice-text-editor {
        font-size: 0.9rem;
    }
    
    .voice-inner-section .voice-heading h3.elementor-heading-title {
        font-size: 1.2rem;
    }
    
    .voice-inner-section .voice-text-editor {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}
