/* ========================================
   会社案内ページ (company.css)
======================================== */

/* ========================================
   理念・代表挨拶 - キーワードマーカー
======================================== */
.sec--philosophy .sec__service-label,
.sec--greeting .sec__service-label {
    color: var(--color-text);
    font-weight: 700;
    display: inline;
    background-image: linear-gradient(to right, rgba(208, 75, 110, 0.4) 0%, rgba(208, 75, 110, 0.4) 100%);
    background-repeat: no-repeat;
    background-size: 100% 45%;
    background-position: 0 100%;
}

/* セクション下部フレームライン */
.sec--philosophy::after,
.sec--greeting::after,
.sec--profile::after { background-color: var(--color-frame); }

/* ========================================
   理念セクション
======================================== */
.sec--philosophy {
    text-align: center;
}

.sec--philosophy .sec-icon {
    background-image: url('../images/gray-bucket-icon01.png');
}

.philosophy-inner {
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.philosophy-catch {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 900;
    font-family: 'MPLUS1p', 'Noto Sans JP', sans-serif;
    color: var(--color-text);
    line-height: 1.65;
    letter-spacing: 0.08em;
    text-align: center;
    position: relative;
    padding: var(--spacing-md) var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.philosophy-catch__line {
    position: absolute;
    background: rgba(208, 75, 110, 0.5);
    pointer-events: none;
}

.philosophy-catch__line--top    { top: 0;    left: 18px;  right: 18px; height: 3px; border-radius: 99px; }
.philosophy-catch__line--bottom { bottom: 0; left: 18px;  right: 18px; height: 3px; border-radius: 99px; }
.philosophy-catch__line--left   { left: 0;   top: 18px; bottom: 18px;  width: 3px;  border-radius: 99px; }
.philosophy-catch__line--right  { right: 0;  top: 18px; bottom: 18px;  width: 3px;  border-radius: 99px; }

.philosophy-catch::before,
.philosophy-catch::after { display: none; }

.philosophy-catch__deco {
    position: absolute;
    width: 28px;
    height: 28px;
    object-fit: contain;
    opacity: 0.7;
}

.philosophy-catch__deco--tl { top: -14px;  left: -14px; }
.philosophy-catch__deco--tr { top: -14px;  right: -14px; }
.philosophy-catch__deco--bl { bottom: -14px; left: -14px; }
.philosophy-catch__deco--br { bottom: -14px; right: -14px; }

@media (min-width: 768px) {
    .philosophy-catch {
        padding: var(--spacing-md) var(--spacing-lg);
        margin-bottom: var(--spacing-lg);
    }
}

.philosophy-highlight {
    color: #d04b6e;
    font-style: normal;
}

.philosophy-text {
    font-size: 1.2rem;
    line-height: var(--body-line-height-sp);
    color: var(--color-text);
    font-weight: 500;
    letter-spacing: var(--body-letter-spacing);
    text-align: left;
    width: 100%;
    margin-bottom: var(--spacing-md);
}

.philosophy-text:last-child {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .philosophy-text {
        font-size: 1.25rem;
        line-height: var(--body-line-height-pc);
        text-align: center;
    }
}

@media (min-width: 1024px) {
    .philosophy-text {
        font-size: 1.375rem;
    }
}

@media (min-width: 1200px) {
    .philosophy-text {
        font-size: 1.425rem;
    }
}

/* 装飾ライン */
.philosophy-deco-line {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 320px;
}

.philosophy-deco-line::before,
.philosophy-deco-line::after {
    content: '';
    flex: 1;
    height: 3px;
    border-radius: 99px;
    background: rgba(208, 75, 110, 0.5);
}

.philosophy-deco-line__icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    opacity: 0.55;
    flex-shrink: 0;
}

/* ========================================
   代表挨拶セクション
======================================== */
.sec--greeting {}

.sec--greeting .sec-icon {
    background-image: url('../images/gray-roller-icon02.png');
}

.greeting-inner {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    max-width: 880px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .greeting-inner {
        flex-direction: row;
        align-items: flex-start;
        gap: var(--spacing-xl);
    }
}

/* 代表写真 */
.greeting-photo {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .greeting-photo {
        width: 220px;
    }
}

@media (min-width: 1024px) {
    .greeting-photo {
        width: 260px;
    }
}

.greeting-photo__frame {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #f0dde5 0%, #fdf6f8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid rgba(208, 75, 110, 0.2);
    box-shadow: 0 4px 20px rgba(208, 75, 110, 0.12);
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .greeting-photo__frame {
        width: 200px;
        height: 200px;
    }
}

@media (min-width: 1024px) {
    .greeting-photo__frame {
        width: 240px;
        height: 240px;
    }
}

.greeting-photo__frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.greeting-photo__frame i {
    font-size: 4rem;
    color: rgba(208, 75, 110, 0.3);
}

.greeting-photo__name {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.greeting-photo__name-ja {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--color-text);
    font-family: 'MPLUS1p', 'Noto Sans JP', sans-serif;
}

.greeting-photo__name-en {
    font-size: 0.75rem;
    font-family: var(--font-en);
    color: var(--color-text-light);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.greeting-photo__role {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #d04b6e;
    background: rgba(208, 75, 110, 0.08);
    border: 1px solid rgba(208, 75, 110, 0.2);
    padding: 4px 14px;
    border-radius: 50px;
    margin: 0 auto;
}

/* 挨拶テキスト */
.greeting-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: var(--spacing-md) 1rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

@media (min-width: 475px) {
    .greeting-body {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

@media (min-width: 576px) {
    .greeting-body {
        padding: 2.5rem 2rem;
        margin-bottom: 2.5rem;
    }
}

@media (min-width: 768px) {
    .greeting-body {
        border-radius: var(--radius-lg);
        padding-top: 3rem;
        padding-bottom: 3rem;
        margin-bottom: 3rem;
    }
}

@media (min-width: 1024px) {
    .greeting-body {
        padding: 3rem 2.5rem;
        margin-bottom: 4rem;
    }
}



.greeting-keyword {
    color: #d04b6e;
    font-weight: 700;
}

.greeting-label {
    display: inline-block;
    width: fit-content;
    background-color: #d04b6e;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    letter-spacing: 0.05em;
}

@media (min-width: 768px) {
    .greeting-label {
        font-size: 0.95rem;
        padding: 0.6rem 1.4rem;
    }
}

.greeting-body__title {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--color-text);
    line-height: 1.7;
    font-family: 'MPLUS1p', 'Noto Sans JP', sans-serif;
    text-align: center;
    letter-spacing: 0.08em;
}

@media (min-width: 576px) {
    .greeting-body__title { font-size: 1.25rem; }
}

@media (min-width: 768px) {
    .greeting-body__title { font-size: 1.4rem; line-height: 1.8; }
}

@media (min-width: 1024px) {
    .greeting-body__title { font-size: 1.5rem; }
}

.greeting-body__text {
    font-size: var(--body-font-size-sp);
    line-height: 36px;
    color: var(--color-text);
    font-weight: 500;
    letter-spacing: var(--body-letter-spacing);
    background-image:
        linear-gradient(90deg, transparent 50%, #ffffff 0, #ffffff),
        linear-gradient(180deg, rgba(208, 75, 110, 0.2) 1.5px, transparent 0);
    background-size: 8px 100%, 100% 36px;
    padding-bottom: 1px;
}

@media (min-width: 768px) {
    .greeting-body__text {
        font-size: var(--body-font-size-pc);
        line-height: 40px;
        background-size: 8px 100%, 100% 40px;
    }
}

.greeting-body__sign {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    padding-top: var(--spacing-xs);
    border-top: 1px solid var(--color-border);
    margin-top: var(--spacing-xs);
}

.greeting-body__sign-company {
    font-size: 0.85rem;
    color: var(--color-text-light);
    font-weight: 500;
}

.greeting-body__sign-name {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--color-text);
    font-family: 'MPLUS1p', 'Noto Sans JP', sans-serif;
}

/* ========================================
   会社概要セクション
======================================== */
.sec--profile {}



.sec--profile .sec-icon {
    background-image: url('../images/gray-brush-icon01.png');
}

.profile-table-wrap {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background-color: var(--color-bg-light);
    border-radius: var(--radius-md);
    padding: var(--spacing-md) 1rem calc(var(--spacing-md) + 0.5rem);
    box-shadow: var(--shadow-md);
}

@media (min-width: 475px) {
    .profile-table-wrap {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

@media (min-width: 768px) {
    .profile-table-wrap {
        border-radius: var(--radius-lg);
    }
}

@media (min-width: 576px) {
    .profile-table-wrap {
        padding: var(--spacing-md) var(--spacing-md) calc(var(--spacing-md) + 0.5rem);
    }
}

@media (min-width: 1024px) {
    .profile-table-wrap {
        padding: var(--spacing-md) var(--spacing-lg) calc(var(--spacing-md) + 0.75rem);
    }
}



.profile-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--body-font-size-sp);
    line-height: var(--body-line-height-sp);
}

@media (min-width: 768px) {
    .profile-table {
        font-size: var(--body-font-size-pc);
        line-height: var(--body-line-height-pc);
    }
}

.profile-table th,
.profile-table td {
    vertical-align: top;
    text-align: left;
    position: relative;
}

.profile-table th {
    padding: 1rem;
}

.profile-table td {
    padding: 1rem;
}

@media (min-width: 375px) {
    .profile-table td {
        padding: 1rem 1rem 1rem 2rem;
    }
}

.profile-table th::after,
.profile-table td::after {
    content: '';
    position: absolute;
    bottom: 0;
    height: 3px;
}

.profile-table th::after {
    left: 0;
    right: 0;
    background-color: rgba(208, 75, 110, 0.4);
    border-radius: 99px 0 0 99px;
}

.profile-table td::after {
    left: 0;
    right: 0;
    background-color: var(--color-border);
    border-radius: 0 99px 99px 0;
}

.profile-table th {
    width: 25%;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-text-light);
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.03em;
    text-align: center;
    vertical-align: middle;
}

.profile-table td {
    width: 75%;
}

@media (min-width: 576px) {
    .profile-table th { padding: 1.125rem; }
    .profile-table td { padding: 1.125rem 1rem 1.125rem 2.5rem; }
}

@media (min-width: 768px) {
    .profile-table th {
        padding: 1.25rem;
        font-size: 0.95rem;
    }
    .profile-table td {
        padding: 1.25rem 1rem 1.25rem 3rem;
    }
}

@media (min-width: 1024px) {
    .profile-table th {
        padding: 1.5rem;
    }
    .profile-table td {
        padding: 1.5rem 1rem 1.5rem 4rem;
    }
}

@media (min-width: 1200px) {
    .profile-table td {
        padding: 1.5rem 1rem 1.5rem 4.5rem;
    }
}

.profile-table td {
    color: var(--color-title);
    font-weight: 500;
    word-break: break-all;
    font-size: clamp(1rem, 1.5vw, 1.1rem);
}

.profile-table tr:first-child th,
.profile-table tr:first-child td {
    border-top: none;
}



.profile-table__badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #d04b6e;
    background: rgba(208, 75, 110, 0.08);
    border: 1px solid rgba(208, 75, 110, 0.2);
    padding: 4px 12px;
    border-radius: 50px;
    white-space: nowrap;
    margin-top: 0.4rem;
    display: inline-flex;
}

.profile-table__link {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.2s ease;
}

.profile-table__link:hover {
    opacity: 0.75;
}

.profile-table__link--tel {
    color: #d04b6e;
}

/* マップエリア */
.profile-content {
    width: 100%;
    max-width: 880px;
    margin: 0 auto 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 576px) {
    .profile-content {
        margin: 0 auto 2.5rem;
    }
}

@media (min-width: 768px) {
    .profile-content {
        gap: 2.5rem;
        margin: 0 auto 3rem;
    }
}

@media (min-width: 1024px) {
    .profile-content {
        gap: 3rem;
        margin: 0 auto 4rem;
    }
}

@media (min-width: 1200px) {
    .profile-content {
        margin: 0 auto 5rem;
    }
}

.profile-map {
    max-width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 3px solid var(--color-border);
    transition: border-color 0.3s ease;
}

.profile-map:hover {
    border-color: rgba(208, 75, 110, 0.4);
}

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

@media (min-width: 768px) {
    .profile-map iframe { height: 360px; }
}

@media (min-width: 1024px) {
    .profile-map iframe { height: 400px; }
}

/* ========================================
   wave-divider 背景色バリアント（会社ページ用）
======================================== */
.wave-divider--bg-company-light {
    background-color: #fafafa;
}

.section-block--bg-company-pink {
    background-color: #fffcfd;
}

/* ========================================
   理念セクション 背景画像ラッパー
   （index.css の .company-bg-wrap と同等）
======================================== */
.page-company .company-bg-wrap {
    position: relative;
}

/* 共通スタイルは common.css で管理 */
.page-company .company-bg-wrap__fixed-bg {
    background-image: url('../images/header-wall.webp');
}
