/* ========================================
   About Page Custom Styles
   Matching Japanese Corporate Profile Layout
   ======================================== */

.about-page-wrapper {
    position: relative;
    overflow: hidden;
    background-color: #FAF7F2;
    padding: 60px 0 90px;
    font-family: 'Noto Serif JP', "Hiragino Mincho ProN", "Yu Mincho", serif;
    color: #2C2623;
    min-height: calc(100vh - var(--header-height, 90px));
}

/* Background Flower Decor Icons */
.about-flower-decor {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0.18;
    filter: sepia(30%) hue-rotate(10deg);
}

.about-flower-decor-1 {
    top: 30px;
    right: 4%;
    width: 220px;
}

.about-flower-decor-2 {
    top: 320px;
    left: 2%;
    width: 190px;
}

.about-flower-decor-3 {
    top: 750px;
    right: 1%;
    width: 210px;
}

.about-flower-decor-4 {
    bottom: 50px;
    left: 3%;
    width: 180px;
}

.about-container {
    position: relative;
    z-index: 1;
    max-width: 940px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header Section */
.about-header {
    text-align: center;
    margin-bottom: 50px;
}

.about-title {
    font-size: 26px;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: #382F27;
    margin-bottom: 8px;
    line-height: 1.3;
}

.about-subtitle {
    font-size: 20px;
    color: #6E6358;
    letter-spacing: 0.18em;
    margin: 0;
    font-weight: 400;
}

/* Executive Section */
.about-profile-card {
    margin-bottom: 55px;
}

.about-profile-top {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.about-profile-photo {
    width: 210px;
    flex-shrink: 0;
}

.about-profile-photo img {
    width: 100%;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #E2D9C7;
}

.about-profile-meta {
    flex-grow: 1;
    padding-top: 10px;
}

.about-company-name {
    font-size: 20px;
    color: #4A4035;
    margin-bottom: 6px;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.about-role-title {
    font-size: 15px;
    color: #5E5347;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.about-exec-name {
    font-size: 22px;
    font-weight: 600;
    color: #2B231B;
    letter-spacing: 0.1em;
    margin: 0;
}

/* Bio Section */
.about-bio-container {
    color: #38312A;
    font-size: 14.5px;
    line-height: 1.9;
}

.about-bio-heading {
    font-size: 16px;
    font-weight: 600;
    color: #382F27;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.about-bio-paragraph {
    margin-bottom: 16px;
    text-align: justify;
    text-justify: inter-ideograph;
}

.about-bio-list {
    list-style: none;
    padding-left: 0;
    margin: 16px 0 0 0;
}

.about-bio-list li {
    position: relative;
    padding-left: 1.2em;
    margin-bottom: 6px;
    line-height: 1.8;
}

.about-bio-list li::before {
    content: "・";
    position: absolute;
    left: 0;
    color: #4A4035;
}

/* Company Table Section (販売元) */
.about-seller-section {
    margin-top: 50px;
    margin-bottom: 50px;
}

.about-section-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 600;
    color: #332B23;
    margin-bottom: 18px;
    letter-spacing: 0.08em;
}

.about-grid-icon {
    display: inline-grid;
    grid-template-columns: repeat(3, 3px);
    grid-gap: 2px;
    width: 14px;
    height: 14px;
}

.about-grid-icon span {
    background-color: #332B23;
    width: 3px;
    height: 3px;
    border-radius: 0.5px;
}

.about-table-wrapper {
    border: 1px solid #D8CEBB;
    border-radius: 2px;
    overflow: hidden;
    background-color: #FAF7F2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.about-info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.about-info-table tr {
    border-bottom: 1px solid #E6DDCF;
}

.about-info-table tr:last-child {
    border-bottom: none;
}

.about-info-table th {
    width: 25%;
    min-width: 140px;
    background-color: #4E4131;
    color: #FFFFFF;
    font-weight: 500;
    font-size: 14px;
    padding: 16px 20px;
    text-align: center;
    vertical-align: middle;
    letter-spacing: 0.05em;
    border-right: 1px solid #5E503F;
}

.about-info-table td {
    background-color: #FAF8F4;
    color: #38312A;
    font-size: 14px;
    line-height: 1.8;
    padding: 16px 22px;
    vertical-align: middle;
}

.about-info-table td a {
    color: #38312A;
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.about-info-table td a:hover {
    opacity: 0.75;
}

.about-table-note {
    font-size: 13.5px;
    color: #5E5347;
    margin-top: 4px;
}

/* Map Section */
.about-map-wrapper {
    margin-top: 40px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #D8CEBB;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    background-color: #EAE6DF;
}

.about-map-iframe {
    width: 100%;
    height: 440px;
    border: 0;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .about-page-wrapper {
        padding: 40px 0 60px;
    }

    .about-header {
        margin-bottom: 35px;
    }

    .about-title {
        font-size: 24px;
    }

    .about-subtitle {
        font-size: 13.5px;
    }

    .about-profile-top {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 16px;
    }

    .about-profile-photo {
        width: 125px;
        flex-shrink: 0;
    }

    .about-company-name {
        font-size: 13.5px;
        margin-bottom: 4px;
    }

    .about-role-title {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .about-exec-name {
        font-size: 18px;
    }

    .about-info-table th {
        width: 32%;
        min-width: 110px;
        font-size: 13px;
        padding: 12px 10px;
    }

    .about-info-table td {
        font-size: 13px;
        padding: 12px 14px;
    }

    .about-map-iframe {
        height: 320px;
    }

    .about-flower-decor {
        opacity: 0.12;
    }
}

/* Office Photos Grid (東京オフィス / 大阪オフィス) */
.about-offices-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.about-office-card {
    text-align: center;
}

.about-office-title {
    font-size: 16px;
    font-weight: 500;
    color: #382F27;
    margin-bottom: 12px;
    letter-spacing: 0.12em;
}

.about-office-img-wrapper {
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid #D8CEBB;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    background-color: #EAE6DF;
}

.about-office-img-wrapper img {
    width: 100%;
    height: 270px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.about-office-img-wrapper:hover img {
    transform: scale(1.02);
}

/* Manufacturing Table Section (製品設計・製造) */
.about-manufacturing-section {
    margin-top: 50px;
    margin-bottom: 45px;
}

/* Large Thailand Team Photo Section */
.about-large-team-section {
    margin-top: 40px;
    margin-bottom: 60px;
}

.about-large-team-wrapper {
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid #D8CEBB;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    background-color: #EAE6DF;
}

.about-large-team-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 767.98px) {
    .about-offices-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 35px;
        margin-bottom: 35px;
    }

    .about-office-img-wrapper img {
        height: 220px;
    }

    .about-manufacturing-section {
        margin-top: 35px;
        margin-bottom: 35px;
    }

    .about-large-team-section {
        margin-top: 30px;
        margin-bottom: 40px;
    }
}

/* Interactive Gallery Section (製品製造) */
.about-gallery-section {
    margin-top: 40px;
    margin-bottom: 60px;
}

.about-gallery-main {
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid #D8CEBB;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    background-color: #EAE6DF;
    margin-bottom: 10px;
}

.about-gallery-main img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    transition: opacity 0.2s ease-in-out;
}

.about-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.about-gallery-thumb-item {
    border-radius: 2px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    background-color: #EAE6DF;
    transition: border-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
    height: 90px;
}

.about-gallery-thumb-item.active {
    border-color: #4E4131;
    box-shadow: 0 2px 8px rgba(78, 65, 49, 0.35);
}

.about-gallery-thumb-item:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

.about-gallery-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 767.98px) {
    .about-gallery-main img {
        height: 260px;
    }

    .about-gallery-thumbs {
        gap: 5px;
    }

    .about-gallery-thumb-item {
        height: 55px;
    }
}

