@charset "UTF-8";

/* ============================================
   東京デッセル - 会社案内ページ専用スタイル
   company/company.css
   (style.css をベースに会社案内ページ固有スタイルを追加)
============================================ */

/* ===== ヘッダー：アクティブリンク ===== */
.header__nav-link--active {
    background-color: var(--color-sub) !important;
    color: var(--color-white) !important;
}

/* ===== Sub Hero (ページヘッダー) ===== */
/* 既存の .sub-hero スタイルに加えてデコ位置調整 */
.sub-hero .deco--capsule-blue {
    top: 70%;
    left: 4%;
    width: 60px;
    animation: floatFlipped 5s ease-in-out infinite;
}

.sub-hero .deco--capsule-pink {
    top: 30%;
    right: 4%;
    width: 55px;
}

@keyframes floatFlipped {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scaleX(-1);
    }

    50% {
        transform: translateY(-15px) rotate(5deg) scaleX(-1);
    }
}

/* パンくずリスト */
.sub-navi {
    background-color: var(--color-back);
}

.sub-navi .sub-hero__breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
    padding: 10px 0 0 20px;
}

/* ============================================
   代表挨拶 (Greeting)
============================================ */
.greeting {
    background-color: var(--color-back);
}

.greeting__inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    /* align-items: center; */
    position: relative;
}

.greeting__inner.container_sub {
    margin-top: 100px;
}

.greeting__image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    aspect-ratio: 4 / 3;
    background-color: var(--color-border);
}

.greeting__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s var(--ease-out);
}

.greeting__image:hover .greeting__photo {
    transform: scale(1.04);
}

/* 見出しを左寄せにするモディファイア */
.section__heading--left {
    text-align: center;
    padding-top: 0;
    margin-bottom: 32px;
}

.section__heading--left::before {
    top: -30px;
    left: 330px;
    transform: none;
}

.section__heading--left .section__heading-en::after {
    left: 15%;
    transform: none;
}

.greeting__text p {
    font-size: 1.6rem;
    line-height: 2;
    color: var(--color-text);
    margin-bottom: 20px;
    font-weight: 500;
}

.greeting__text p:last-child {
    margin-bottom: 0;
}

.greeting__signature {
    margin-top: 36px;
    border-top: 1px solid var(--color-border);
    padding-top: 24px;
    text-align: right;
}

.greeting__position {
    font-size: 1.4rem;
    color: var(--color-text-light);
    margin-bottom: 4px;
}

.greeting__name {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: 0.1em;
}

/* ============================================
   経営理念 (Philosophy)
============================================ */
.philosophy {
    background-color: var(--color-sub);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.philosophy .section__heading {
    padding-top: 15px;
}

/* 見出しの文字色を白に */
.philosophy .section__heading-en {
    color: var(--color-white);
    -webkit-text-stroke: 10px var(--color-sub);
}

.philosophy .section__heading-en::after {
    background-color: var(--color-yellow);
}

.philosophy .section__heading-main {
    color: var(--color-white);
    -webkit-text-stroke: 6px var(--color-sub);
}

.philosophy .section__heading::before {
    background-image: url('../images/icn_arrow_dot_white.png');
}

/* greeting内のデコカプセル位置調整 */
.greeting .deco--capsule-green {
    bottom: 15%;
    left: 30%;
    top: auto;
    width: 60px;
    opacity: 0.5;
    z-index: 0;
}

/* 経営理念ボックス */
.philosophy__box {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 50px 60px;
    position: relative;
}

.philosophy__catchcopy {
    font-size: clamp(2.2rem, 3vw, 3.6rem);
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: 0.05em;
    margin-bottom: 36px;
    color: var(--color-yellow);
    position: relative;
    padding-bottom: 28px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.25);
}

.philosophy__catchcopy::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-yellow);
    border-radius: 2px;
}

.philosophy__body p {
    font-size: 1.6rem;
    line-height: 2;
    color: var(--color-white);
    margin-bottom: 12px;
    font-weight: 500;
}

.philosophy__body p:last-child {
    margin-bottom: 0;
}

/* カプセルデコ（白背景でなくなるのでオーバーライド） */
.philosophy .deco--capsule-red {
    bottom: 10%;
    left: 20%;
    opacity: 0.4;
}

.philosophy .deco--capsule-yellow {
    top: 35%;
    left: 75%;
    opacity: 0.3;
    width: 65px;
}

/* ============================================
   会社概要 (Overview)
============================================ */
.overview {
    background-color: var(--color-main);
}

.overview .section__heading {
    padding-top: 15px;
}

.overview__table-wrap {
    max-width: 820px;
    margin: 0 auto;
}

.overview__table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    background-color: var(--color-white);
}

.overview__table tbody tr {
    border-bottom: 1px solid var(--color-border);
    transition: background-color 0.2s ease;
}

.overview__table tbody tr:last-child {
    border-bottom: none;
}

/* .overview__table tbody tr:hover {
    background-color: rgba(82, 132, 191, 0.04);
} */

.overview__table th,
.overview__table td {
    padding: 20px 28px;
    font-size: 1.6rem;
    line-height: 1.9;
    vertical-align: top;
    text-align: left;
}

.overview__table th {
    background-color: rgba(82, 132, 191, 0.08);
    font-weight: 700;
    width: 30%;
    color: var(--color-text);
    white-space: nowrap;
}

.overview__table td a:hover {
    opacity: 0.7;
}

/* ============================================
   本社所在地・地図 (Map)
============================================ */
.map-section {
    background-color: var(--color-back);
}

.map-section .section__heading {
    padding-top: 15px;
}

.map-section__address {
    text-align: center;
    margin-bottom: 32px;
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-text);
    line-height: 2;
}

.map-section__tel {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    margin-top: 8px;
}

.map-section__tel-icon {
    width: 24px;
    height: 24px;
}

.map-section__tel a {
    font-family: var(--font-en);
    font-size: 3rem;
    font-weight: 600;
    color: var(--color-sub);
    letter-spacing: 0.02em;
}

.map-section__embed {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    line-height: 0;
}

.map-section__embed iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: none;
}

/* ============================================
   Responsive
============================================ */
@media (max-width: 1345px) {

    /* 代表挨拶 */
    .greeting__inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .greeting__image {
        max-width: 480px;
        margin: 0 auto;
    }

    .section__heading--left {
        text-align: center;
    }

    .section__heading--left::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .section__heading--left .section__heading-en::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .greeting__signature {
        text-align: center;
    }

    /* 経営理念 */
    .philosophy__box {
        padding: 36px 24px;
    }

    /* 会社概要テーブル */
    .overview__table th,
    .overview__table td {
        padding: 14px 16px;
    }

    .overview__table th {
        width: 35%;
    }

    /* 地図 */
    .map-section__embed iframe {
        height: 300px;
    }

    /* SUBヒーローのデコ非表示 */
    /* .sub-hero .deco--capsule-blue,
    .sub-hero .deco--capsule-pink {
        display: none;
    } */
}


@media (max-width: 690px) {
    .philosophy__body p {
        text-align: left;
    }
}

@media (max-width: 599px) {
    .section__heading-en {
        margin-top: 20px;
    }
}