/* About Page Styles */
.about-page-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding-top: 0px; /* ヘッダーの高さに合わせて調整 */
}

section.about-section-1.fade-in {
    background-repeat: no-repeat;
    background-color: white;
    background-position: center;
    background-size: auto;
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section */
.about-hero {
    position: relative;
    width: 100%;
    margin-bottom: 60px;
}

.about-hero-image {
    height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.about-hero-content {
    text-align: center;
    color: #fff;
    z-index: 2;
    padding: 30px;
    background-color:transparent;
    max-width: 80%;
}

.about-subheading {
    font-size: 15px;
    margin-bottom: 10px;
    letter-spacing: 3px;
    font-weight: 400;
    color: #000;
}

.about-title {
    font-size: 32px;
    margin: 0;
    font-weight: 500;
    color: #000;
}

/* Section 1 */
.about-section-1 {
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

.about-section-1:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
}

.about-section-1-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.about-section-1-text {
    flex: 1;
    padding-right: 40px;
    min-width: 300px;
}

.about-section-1-text .section-subtitle {
    font-size: 12px;
    margin-bottom: 5px;
    margin-top: 0;
    line-height: 1.8;
    color: #555;
}

.about-section-1-text h2 {
    font-size: 22px;
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
}

.about-section-1-text p {
    line-height: 30px;
    letter-spacing: 0.04em;
    font-size: 15px;
    color: #555;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.about-section-1-image {
    flex: 1;
    max-width: 491px;
    min-width: 300px;
}

.about-section-1-image img {
    width: 100%;
    height: auto;
}

.about-section-1 .section-title-image {
    margin-bottom: 20px;
}

.about-section-1 .section-title-image img {
    max-width: 180px;
    height: auto;
    display: block;
}

/* Section 3 */
.about-section-3 {
    padding: 80px 0;
    background-color: #FFF8B0;
}

.about-section-3-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-section-3 .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.about-section-3 .section-title-image {
    margin-bottom: 20px;
}

.about-section-3 .section-title-image img {
    max-width: 180px;
    height: auto;
    margin: 0 auto;
    display: block;
}

.about-section-3 .section-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0;
    letter-spacing: 0.1em;
}

.about-section-3 .two-column-grid {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    align-items: flex-start;
}

.about-section-3 .left-column,
.about-section-3 .right-column {
    flex: 1;
    min-width: 300px;
}

.about-section-3 .image-wrapper {
    position: relative;
    margin-bottom: 30px;
}

.about-section-3 .image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.about-section-3 .image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

.about-section-3 .subheading {
    font-size: 12px;
    margin: 0;
    color: #FFF;
    letter-spacing: 0.1em;
}

.about-section-3 .title {
    font-size: 24px;
    font-weight: 500;
    margin: 10px 0 0;
    color: #FFF;
}

.about-section-3 .text-content {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.about-section-3 .about-btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.about-section-3 .about-btn:hover {
    background-color: #555;
    transform: translateY(-3px);
}

@media screen and (max-width: 1024px) {
    .about-section-3 .two-column-grid {
        gap: 40px;
    }
}

@media screen and (max-width: 767px) {
    .about-section-3 {
        padding: 60px 0;
    }

    .about-section-3-inner {
        padding: 0;
    }

    .about-section-3 .section-header {
        margin-bottom: 40px;
        padding: 0 20px;
    }

    .about-section-3 .section-title-image img {
        max-width: 140px;
    }

    .about-section-3 .two-column-grid {
        flex-direction: column;
        gap: 40px;
        padding: 0;
    }

    .about-section-3 .left-column,
    .about-section-3 .right-column {
        width: 100%;
        padding: 0;
    }

    .about-section-3 .image-wrapper {
        margin-bottom: 20px;
    }

    .about-section-3 .text-content {
        font-size: 14px;
        padding: 0 20px;
    }

    .about-section-3 .about-btn {
        margin: 0 20px;
    }
}

/* Section 4 */
.about-section-4 {
    padding: 80px 0;
    background-color: #f7f7f7;
}

section.about-section-4.fade-in {
    background: white;
}

.about-section-4-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.company-info {
    background-color: #fff;
    padding: 40px;
}

.info-row {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #000;
    font-size: 14px;
}

.info-row:first-child {
    padding-top: 15px;
    border-top: 1px solid #000;
}

.info-row:last-child {
    margin-bottom: 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #000;
}

.info-label {
    width: 180px;
    font-weight: 600;
    color: #333;
    padding-left: 1rem;
}

.info-content {
    flex: 1;
    color: #555;
}

.about-section-4 .section-title-container {
    text-align: center;
    margin-bottom: 40px;
}

.about-section-4 .section-title-image {
    margin-bottom: 20px;
}

.about-section-4 .section-title-image img {
    max-width: 180px;
    height: auto;
    margin: 0 auto;
    display: block;
}

/* Section 5 */
.about-section-5 {
    padding: 80px 0;
    background-color: #fff;
}

.about-section-5-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-section-5 .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.about-section-5 .section-title-image {
    margin-bottom: 20px;
}

.about-section-5 .section-title-image img {
    max-width: 180px;
    height: auto;
    margin: 0 auto;
    display: block;
}

.about-section-5 .section-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0;
    letter-spacing: 0.1em;
}

.about-section-5 .about-section-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

.about-section-5 .section-image {
    flex: 0 0 45%;
    max-width: 598px;
}

.about-section-5 .section-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.about-section-5 .section-text {
    flex: 1;
}

.about-section-5 .text-subtitle {
    font-size: 20px;
    color: #333;
    margin: 0 0 30px;
    font-weight: 500;
}

.about-section-5 .text-content {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.about-section-5 .text-content p {
    margin-bottom: 1.5em;
}

.about-section-5 .text-content p:last-child {
    margin-bottom: 0;
}

@media screen and (max-width: 1024px) {
    .about-section-5 .about-section-content {
        gap: 40px;
    }
}

@media screen and (max-width: 767px) {
    .about-section-5 {
        padding: 60px 0;
    }

    .about-section-5-inner {
        padding: 0;
    }

    .about-section-5 .section-header {
        margin-bottom: 40px;
        padding: 0 20px;
    }

    .about-section-5 .section-title-image img {
        max-width: 140px;
    }

    .about-section-5 .about-section-content {
        flex-direction: column;
        gap: 30px;
    }

    .about-section-5 .section-image {
        flex: 0 0 auto;
        max-width: 100%;
        padding: 0;
    }

    .about-section-5 .section-image img {
        border-radius: 0;
    }

    .about-section-5 .section-text {
        padding: 1.5rem;
    }

    .about-section-5 .text-subtitle {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .about-section-5 .text-content {
        font-size: 14px;
    }
}

/* Section 6 */
.about-section-6 {
    padding: 60px 0 0;
    margin-top: 40px;
}

section.about-section-6.fade-in {
    padding-top: 0px;
    margin-top: 0;
}

.about-section-6-inner {
    background-size: cover;
    background-position: center;
    padding: 80px 20px;
    position: relative;
}

.about-section-6-inner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.banner-title {
    font-size: 36px;
    margin-bottom: 0px;
    font-family: 'Melvinsans Thin Regular' !important;
}

.banner-text {
    font-size: 12px;
    margin-bottom: 30px;
    line-height: 1.6;
    margin-top: 1rem;
}

.banner-button {
    display: inline-block;
    max-width: 231px;
    width: 100%;
    font-size: 13px;
    letter-spacing: 0.065em;
    line-height: 15.95px;
    padding: 10px 15px;
    background-color: white;
    color: var(--primary-color);
    text-decoration: none;
    text-align: center;
    border: 1px solid var(--primary-color);
    transition: all 0.3s ease;
}

.banner-button:hover {
    background-color: #333;
    color: #fff;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .about-section-1-inner,
    .image-text-container {
        flex-direction: column;
    }
    
    .about-section-1 {
        padding-top: 0rem;
    }
    
    .about-section-1-text {
        padding-right: 0;
        margin-bottom: 30px;
        width: 100%;
    }
    
    .about-section-1-text p {
        line-height: 30px;
        letter-spacing: 0.04em;
        font-size: 12px;
        color: #555;
        word-break: keep-all;
        overflow-wrap: break-word;
    }
    
    .about-hero-image {
        height: 300px;
    }
    
    .about-title {
        font-size: 32px;
    }
    
    .banner-title {
        font-size: 28px;
    }
    
    .about-section-4 {
        padding: 3rem 0;
    }
    
    .info-row {
        display: grid;
        grid-template-columns: 0.5fr 1fr;
    }
    
    .info-label {
        width: 100%;
        margin-bottom: 5px;
        font-size:13px;
        padding-left: 1rem;
    }
    .info-content {
        flex: 1;
        color: #000;
        font-size: 13px;
    }
    /*COMPANY*/
    .company-info {
        background-color: #fff;
        padding: 0px;
    }
    .about-section-5 .section-title-container h2 {
        font-size: 26px;
        font-weight: 500;
        margin-bottom: 0px;
        color: #333;
        font-family: 'Melvinsans Thin Regular' !important;
    }
    .about-section-5 .section-title-container {
        text-align: center;
        max-width: 700px;
        margin: 0 auto;
        padding: 0px 0 20px;
    }
}

/* アニメーション */
.about-section-1,
.about-section-3,
.about-section-4,
.about-section-5,
.about-section-6 {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-element {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-element.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-section-3 .section-title-image {
    margin-bottom: 20px;
    text-align: center;
}

.about-section-3 .section-title-image img {
    max-width: 180px;
    height: auto;
    margin: 0 auto;
    display: block;
}

.about-section-6 .section-title-image {
    margin-bottom: 20px;
    text-align: center;
}

.about-section-6 .section-title-image img {
    max-width: 180px;
    height: auto;
    margin: 0 auto;
    display: block;
}

@media screen and (max-width: 767px) {
    .about-section-3 .section-title-image img,
    .about-section-6 .section-title-image img {
        max-width: 140px;
    }
}