@charset "UTF-8";

/* =========================================
   Company Page Specific Styles (vFinal)
   ========================================= */

/* -----------------------------------------
   1. Company Profile Section (Top)
----------------------------------------- */
.profile-top-sec {
    background-color: #fff;
    padding: 100px 0;
    border-bottom: 1px solid #eee;
}

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

.section__title {
    font-family: var(--font-en-head);
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 10px;
    color: #333;
}

.section__desc {
    color: #666;
    font-size: 1rem;
}

.profile-box {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
    overflow: hidden;
}

.profile-dl {
    display: flex;
    flex-direction: column;
}

.profile-row {
    display: flex;
    border-bottom: 1px solid #eee;
}

.profile-row:last-child {
    border-bottom: none;
}

.profile-row dt {
    width: 25%;
    background: #f9f9f9;
    padding: 25px;
    font-weight: bold;
    color: var(--accent-color);
    display: flex;
    align-items: center;
}

.profile-row dd {
    width: 75%;
    padding: 25px;
    margin: 0;
    line-height: 1.8;
    color: #555;
}

@media (max-width: 768px) {
    .profile-row {
        flex-direction: column;
    }

    .profile-row dt {
        width: 100%;
        padding: 15px 25px;
        background: #f0f0f0;
        border-bottom: none;
    }

    .profile-row dd {
        width: 100%;
        padding: 15px 25px 25px;
    }
}

/* -----------------------------------------
   2. Philosophy Section
----------------------------------------- */
.philosophy-sec {
    background-color: #fff;
    padding-top: 120px;
    padding-bottom: 120px;
}

.philo-block {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 120px;
    gap: 50px;
}

.philo-block.reverse {
    flex-direction: row-reverse;
}

.philo-head {
    flex: 0 0 40%;
    position: relative;
}

.philo-en {
    display: block;
    font-family: var(--font-en-head);
    font-size: 1rem;
    letter-spacing: 0.2em;
    color: var(--accent-neon);
    margin-bottom: 20px;
    position: relative;
    padding-left: 60px;
    /* Line space */
}

.philo-en::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 40px;
    height: 1px;
    background: var(--accent-neon);
}

.philo-jp {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.4;
    letter-spacing: 0.1em;
}

.philo-sub {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-top: 10px;
}

.philo-text {
    flex: 1;
    font-size: 1.1rem;
    line-height: 2.2;
    color: #555;
    padding-top: 40px;
    /* Align with JP text */
    text-align: justify;
}

/* -----------------------------------------
   3. Values Grid
----------------------------------------- */
.values-block {
    text-align: center;
    margin-top: 150px;
}

.philo-en-center {
    display: block;
    font-family: var(--font-en-head);
    font-size: 1rem;
    letter-spacing: 0.2em;
    color: var(--accent-neon);
    margin-bottom: 10px;
}

.philo-jp-center {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 60px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-item {
    background: #f9f9f9;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: left;
    transition: transform 0.3s;
}

.value-item:hover {
    transform: translateY(-5px);
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.value-en {
    display: block;
    font-family: var(--font-en-head);
    font-size: 0.9rem;
    color: var(--accent-color);
    margin-bottom: 10px;
    letter-spacing: 0.1em;
}

.value-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.value-desc {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #666;
}

/* -----------------------------------------
   4. Story Section
----------------------------------------- */
.story-sec {
    background: var(--gray-color);
    padding: 100px 0;
}

.story-inner {
    max-width: 800px;
    margin: 0 auto;
}

.story-content {
    background: #fff;
    padding: 60px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    font-size: 1rem;
    line-height: 2;
    color: #444;
}

/* -----------------------------------------
   5. Message Section (CEO / Vice)
----------------------------------------- */
.message-sec {
    padding: 120px 0;
    background: #fff;
}

.message-sec.vice-sec {
    background: #fafafa;
}

.message-row {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.message-row.reverse {
    flex-direction: row-reverse;
}

.message-img {
    flex: 0 0 40%;
}

.message-img img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 10px 10px 0 var(--accent-light);
}

.message-body {
    flex: 1;
}

.msg-label {
    display: block;
    font-family: var(--font-en-head);
    color: var(--accent-color);
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.msg-heading {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.5;
    margin-bottom: 30px;
}

.msg-text {
    font-size: 1rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 40px;
}

.msg-signer p {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 5px;
}

.msg-signer h3 {
    font-size: 1.8rem;
    font-weight: bold;
    font-family: "Yu Mincho", serif;
}

/* Profile Table inside Message */
.profile-table-wrap {
    margin-top: 40px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.profile-list {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 15px;
    font-size: 0.9rem;
}

.profile-list dt {
    font-weight: bold;
    color: var(--accent-color);
}

.profile-list dd {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* -----------------------------------------
   6. Member Section (3 Column)
----------------------------------------- */
.member-sec {
    background: #fff;
    padding: 100px 0;
}

.member-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3カラム */
    gap: 40px;
    margin-top: 60px;
}

.member-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.member-img {
    width: 100%;
    height: 300px;
    /* 画像を大きく */
    overflow: hidden;
    border-bottom: 3px solid var(--accent-light);
}

.member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.member-card:hover .member-img img {
    transform: scale(1.05);
}

.member-info {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.member-department {
    font-size: 0.8rem;
    color: var(--accent-color);
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.member-role {
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: bold;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.member-name {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.member-motto {
    font-size: 0.9rem;
    color: #444;
    background: #f9f9f9;
    padding: 8px 12px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-family: "Yu Mincho", serif;
}

.member-divider {
    width: 30px;
    height: 2px;
    background: #ddd;
    margin-bottom: 15px;
}

.member-message {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #666;
    flex-grow: 1;
}

/* Recruiting Card Style */
.member-card.recruiting {
    border: 2px dashed #ccc;
    background: #fafafa;
}

.member-card.recruiting .placeholder {
    width: 100%;
    height: 100%;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-en-head);
    font-size: 1.5rem;
    color: #ccc;
    letter-spacing: 0.1em;
}

.link-recruit {
    display: inline-block;
    margin-top: 20px;
    font-weight: bold;
    color: var(--accent-color);
    border-bottom: 1px solid var(--accent-color);
    transition: opacity 0.3s;
}

.link-recruit:hover {
    opacity: 0.7;
}

/* -----------------------------------------
   7. Access Section (Map Only / Centered)
----------------------------------------- */
.access-sec {
    background: #f9f9f9;
    padding: 100px 0;
}

.access-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

.overview-grid {
    display: flex;
    justify-content: center;
}

.overview-grid.center-map {
    display: block;
    max-width: 1000px;
    margin: 0 auto;
}

.overview-map {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Hide old info if it exists in shared classes */
.overview-info,
.company-data {
    display: none;
}

/* -----------------------------------------
   8. Responsive
----------------------------------------- */
@media (max-width: 900px) {
    .member-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .overview-map {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .philo-block {
        flex-direction: column;
        gap: 30px;
    }

    .philo-block.reverse {
        flex-direction: column;
    }

    .philo-head {
        width: 100%;
    }

    .philo-jp {
        font-size: 2rem;
    }

    .philo-text {
        padding-top: 0;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .message-row {
        flex-direction: column;
        gap: 40px;
    }

    .message-row.reverse {
        flex-direction: column;
    }

    .message-img {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .member-grid {
        grid-template-columns: 1fr;
    }

    .member-img {
        height: 250px;
    }
}

@charset "UTF-8";

/* =========================================
   Company Page Specific Styles (vFinal + Contact Fixed)
   ========================================= */

/* -----------------------------------------
   1. Company Profile Section (Top)
----------------------------------------- */
.profile-top-sec {
    background-color: #fff;
    padding: 100px 0;
    border-bottom: 1px solid #eee;
}

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

.section__title {
    font-family: var(--font-en-head);
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 10px;
    color: #333;
}

.section__desc {
    color: #666;
    font-size: 1rem;
}

.profile-box {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
    overflow: hidden;
}

.profile-dl {
    display: flex;
    flex-direction: column;
}

.profile-row {
    display: flex;
    border-bottom: 1px solid #eee;
}

.profile-row:last-child {
    border-bottom: none;
}

.profile-row dt {
    width: 25%;
    background: #f9f9f9;
    padding: 25px;
    font-weight: bold;
    color: var(--accent-color);
    display: flex;
    align-items: center;
}

.profile-row dd {
    width: 75%;
    padding: 25px;
    margin: 0;
    line-height: 1.8;
    color: #555;
}

@media (max-width: 768px) {
    .profile-row {
        flex-direction: column;
    }

    .profile-row dt {
        width: 100%;
        padding: 15px 25px;
        background: #f0f0f0;
        border-bottom: none;
    }

    .profile-row dd {
        width: 100%;
        padding: 15px 25px 25px;
    }
}

/* -----------------------------------------
   2. Philosophy Section
----------------------------------------- */
.philosophy-sec {
    background-color: #fff;
    padding-top: 120px;
    padding-bottom: 120px;
}

.philo-block {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 120px;
    gap: 50px;
}

.philo-block.reverse {
    flex-direction: row-reverse;
}

.philo-head {
    flex: 0 0 40%;
    position: relative;
}

.philo-en {
    display: block;
    font-family: var(--font-en-head);
    font-size: 1rem;
    letter-spacing: 0.2em;
    color: var(--accent-neon);
    margin-bottom: 20px;
    position: relative;
    padding-left: 60px;
    /* Line space */
}

.philo-en::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 40px;
    height: 1px;
    background: var(--accent-neon);
}

.philo-jp {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.4;
    letter-spacing: 0.1em;
}

.philo-sub {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-top: 10px;
}

.philo-text {
    flex: 1;
    font-size: 1.1rem;
    line-height: 2.2;
    color: #555;
    padding-top: 40px;
    /* Align with JP text */
    text-align: justify;
}

/* -----------------------------------------
   3. Values Grid
----------------------------------------- */
.values-block {
    text-align: center;
    margin-top: 150px;
}

.philo-en-center {
    display: block;
    font-family: var(--font-en-head);
    font-size: 1rem;
    letter-spacing: 0.2em;
    color: var(--accent-neon);
    margin-bottom: 10px;
}

.philo-jp-center {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 60px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-item {
    background: #f9f9f9;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: left;
    transition: transform 0.3s;
}

.value-item:hover {
    transform: translateY(-5px);
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.value-en {
    display: block;
    font-family: var(--font-en-head);
    font-size: 0.9rem;
    color: var(--accent-color);
    margin-bottom: 10px;
    letter-spacing: 0.1em;
}

.value-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.value-desc {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #666;
}

/* -----------------------------------------
   4. Story Section
----------------------------------------- */
.story-sec {
    background: var(--gray-color);
    padding: 100px 0;
}

.story-inner {
    max-width: 800px;
    margin: 0 auto;
}

.story-content {
    background: #fff;
    padding: 60px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    font-size: 1rem;
    line-height: 2;
    color: #444;
}

/* -----------------------------------------
   5. Message Section (CEO / Vice)
----------------------------------------- */
.message-sec {
    padding: 120px 0;
    background: #fff;
}

.message-sec.vice-sec {
    background: #fafafa;
}

.message-row {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.message-row.reverse {
    flex-direction: row-reverse;
}

.message-img {
    flex: 0 0 40%;
}

.message-img img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 10px 10px 0 var(--accent-light);
}

.message-body {
    flex: 1;
}

.msg-label {
    display: block;
    font-family: var(--font-en-head);
    color: var(--accent-color);
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.msg-heading {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.5;
    margin-bottom: 30px;
}

.msg-text {
    font-size: 1rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 40px;
}

.msg-signer p {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 5px;
}

.msg-signer h3 {
    font-size: 1.8rem;
    font-weight: bold;
    font-family: "Yu Mincho", serif;
}

/* Profile Table inside Message */
.profile-table-wrap {
    margin-top: 40px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.profile-list {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 15px;
    font-size: 0.9rem;
}

.profile-list dt {
    font-weight: bold;
    color: var(--accent-color);
}

.profile-list dd {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* -----------------------------------------
   6. Member Section (3 Column)
----------------------------------------- */
.member-sec {
    background: #fff;
    padding: 100px 0;
}

.member-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3カラム */
    gap: 40px;
    margin-top: 60px;
}

.member-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.member-img {
    width: 100%;
    height: 300px;
    /* 画像を大きく */
    overflow: hidden;
    border-bottom: 3px solid var(--accent-light);
}

.member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.member-card:hover .member-img img {
    transform: scale(1.05);
}

.member-info {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.member-role {
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: bold;
    letter-spacing: 0.05em;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.member-name {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.member-motto {
    font-size: 0.9rem;
    color: #444;
    background: #f9f9f9;
    padding: 8px 12px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-family: "Yu Mincho", serif;
}

.member-divider {
    width: 30px;
    height: 2px;
    background: #ddd;
    margin-bottom: 15px;
}

.member-message {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #666;
    flex-grow: 1;
}

/* Recruiting Card Style */
.member-card.recruiting {
    border: 2px dashed #ccc;
    background: #fafafa;
}

.member-card.recruiting .placeholder {
    width: 100%;
    height: 100%;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-en-head);
    font-size: 1.5rem;
    color: #ccc;
    letter-spacing: 0.1em;
}

.link-recruit {
    display: inline-block;
    margin-top: 20px;
    font-weight: bold;
    color: var(--accent-color);
    border-bottom: 1px solid var(--accent-color);
    transition: opacity 0.3s;
}

.link-recruit:hover {
    opacity: 0.7;
}

/* -----------------------------------------
   7. Access Section (Map Only / Centered)
----------------------------------------- */
.access-sec {
    background: #f9f9f9;
    padding: 100px 0;
}

.access-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

.overview-grid {
    display: flex;
    justify-content: center;
}

.overview-grid.center-map {
    display: block;
    max-width: 1000px;
    margin: 0 auto;
}

.overview-map {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.overview-info,
.company-data {
    display: none;
}

/* -----------------------------------------
   8. Contact Area (Add)
----------------------------------------- */
.contact-area {
    background: #f9f9f9;
    padding: 100px 0;
}

.contact-box {
    background: #f4f8ff;
    padding: 80px 40px;
    text-align: center;
    border-radius: 12px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.contact-desc {
    margin-bottom: 40px;
    font-size: 1.1rem;
    color: #666;
}

.contact-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-contact-primary {
    display: inline-block;
    background: var(--accent-color);
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 10px 20px rgba(0, 86, 179, 0.3);
}

.btn-contact-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 86, 179, 0.4);
}

.btn-contact-tel {
    background: #fff;
    color: #333;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid #ddd;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-contact-tel:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* -----------------------------------------
   9. Responsive
----------------------------------------- */
@media (max-width: 900px) {
    .member-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .overview-map {
        height: 350px;
    }

    .contact-btns {
        flex-direction: column;
    }

    .contact-box {
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
    .philo-block {
        flex-direction: column;
        gap: 30px;
    }

    .philo-block.reverse {
        flex-direction: column;
    }

    .philo-head {
        width: 100%;
    }

    .philo-jp {
        font-size: 2rem;
    }

    .philo-text {
        padding-top: 0;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .message-row {
        flex-direction: column;
        gap: 40px;
    }

    .message-row.reverse {
        flex-direction: column;
    }

    .message-img {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .member-grid {
        grid-template-columns: 1fr;
    }

    .member-img {
        height: 250px;
    }
}