@charset "utf-8";
/* 企業理念（philosophy.html）専用。デザイン mission_value_design.html の .page-philosophy 部分を移植。Message・Mission・Value 見出しはデザイン調整中 */
/* 会社情報2ページ：デザイン確認用。原稿は現行会社案内から継承。 */
.page-philosophy .company-wide { width: min(100%,80rem); margin-inline: auto; }
.page-philosophy .company-reading { width: 100%; max-width: 68rem; margin-inline: auto; }
.page-philosophy .company-page-hero { position: relative; isolation: isolate; padding: 2rem clamp(1.5rem,4vw,5rem) 3rem; }
.page-philosophy .company-page-hero > .kitec-hero-grid { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; }
.page-philosophy .breadcrumb { margin-bottom: 3rem; }
.page-philosophy .company-page-hero h1 { margin: 0; color: #222222; font-size: clamp(2.25rem,4.2vw,3.75rem); line-height: 1.5; font-weight: 800; letter-spacing: .025em; }
.page-philosophy .company-page-nav { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 2.5rem; }
.page-philosophy .company-page-nav a { display: inline-flex; align-items: center; gap: .6rem; padding: .5rem 0; border-bottom: 2px solid transparent; color: #222222; font-size: 1rem; font-weight: 700; letter-spacing: .025em; text-decoration: none; }
.page-philosophy .company-page-nav a[aria-current="page"] { border-color: #0764a5; color: #0764a5; }
.page-philosophy .company-page-nav a[aria-current="page"]::before { content: ""; width: .35rem; height: .35rem; border-radius: 50%; background: #0764a5; }
.page-philosophy .company-page-nav a:hover { border-color: #0764a5; }
.page-philosophy .company-section-title { position: relative; padding-left: .6em; margin: 0 0 2.5rem; color: #222222; font-size: clamp(2rem,3.2vw,3rem); font-weight: 800; line-height: 1.5; letter-spacing: .025em; word-break: normal; overflow-wrap: anywhere; }
.page-philosophy .company-section-title::before { content: ""; position: absolute; left: .05em; top: .5em; width: .22em; height: .5em; background: #0764a5; transform: skewX(-20deg); }
.page-philosophy .company-script { margin: 0 0 .75rem; font-family: "Roboto",sans-serif; font-size: 2rem; line-height: 1.4; letter-spacing: .025em; color: #0764a5; }
.page-philosophy .company-mission { position: relative; overflow: hidden; padding: 5rem clamp(1.5rem,4vw,5rem); background: linear-gradient(115deg,#eff8ff 0%,#f6fcfc 60%,#eaf8f2 100%); }
.page-philosophy .company-mission h2 { position: relative; z-index: 1; margin: 0 0 2.25rem; font-size: clamp(2.25rem,4.5vw,4rem); font-weight: 800; line-height: 1.6; letter-spacing: .025em; word-break: normal; overflow-wrap: anywhere; color: #222222; }
.page-philosophy .company-mission h2 span { display: block; }
.page-philosophy .company-mission-body { position: relative; z-index: 1; max-width: 58rem; margin: 0; font-size: 1.25rem; line-height: 2.1; letter-spacing: .04em; }
.page-philosophy .company-value-section { padding: 5rem clamp(1.5rem,4vw,5rem); background: #fff; }
.page-philosophy .company-values { margin-top: 2.5rem; }
.page-philosophy .company-value { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.2fr); align-items: baseline; gap: 3rem; padding: 2.5rem 0; border-top: 1px solid #d6e8f1; }
.page-philosophy .company-value:last-child { border-bottom: 1px solid #d6e8f1; }
.page-philosophy .company-value h3 { margin: 0; font-size: 1.625rem; font-weight: 800; line-height: 1.65; letter-spacing: .025em; color: #0764a5; word-break: normal; overflow-wrap: anywhere; }
.page-philosophy .company-value p { margin: 0; font-size: 1.125rem; line-height: 2; letter-spacing: .04em; }
.page-philosophy .company-message-section { padding: 5rem clamp(1.5rem,4vw,5rem); background: #f0f8fd; }
.page-philosophy .company-message-layout { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.15fr); gap: clamp(2rem,4vw,4rem); align-items: start; }
.page-philosophy .company-president { margin: 0; border-radius: 1.25rem; overflow: hidden; }
.page-philosophy .company-president img { display: block; width: 100%; height: auto; }
.page-philosophy .company-message-copy p { margin: 0 0 1.5rem; font-size: 1.125rem; line-height: 2.1; letter-spacing: .04em; }
.page-philosophy .company-message-copy .company-president-name { margin: 2rem 0 0; text-align: right; font-size: 1.25rem; font-weight: 700; }
.page-philosophy .company-other-page { padding: 3rem 1.25rem; background: #fff; text-align: center; }
.page-philosophy .company-other-page .kitec-button { gap: 2rem; }
.page-philosophy .company-jump-wrapper { padding: 2rem clamp(1.5rem,4vw,5rem) 0; background: #fff; }
.page-philosophy .company-jumps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; }
.page-philosophy .company-jumps a { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: 1rem 1.25rem; border-bottom: 1px solid #d6e8f1; color: #222222; font-size: 1rem; font-weight: 700; text-decoration: none; letter-spacing: .025em; }
.page-philosophy .company-jumps span { color: #0764a5; }
.page-philosophy .company-jumps a:hover { border-color: #0764a5; color: #0764a5; }
.page-philosophy .company-profile-section,.page-philosophy .company-access-section,.page-philosophy .company-history-section { padding: 4rem clamp(1.5rem,4vw,5rem); background: #fff; scroll-margin-top: 8rem; }
.page-philosophy .company-profile { margin: 0; }
.page-philosophy .company-row { display: grid; grid-template-columns: 11rem minmax(0,1fr); gap: 2rem; padding: 1.75rem 0; border-top: 1px solid #d6e8f1; }
.page-philosophy .company-row:last-child { border-bottom: 1px solid #d6e8f1; }
.page-philosophy .company-row dt { font-size: 1rem; font-weight: 700; letter-spacing: .025em; color: #0764a5; }
.page-philosophy .company-row dd { min-width: 0; margin: 0; font-size: 1.125rem; line-height: 1.9; letter-spacing: .04em; }
.page-philosophy .company-row a,.page-philosophy .company-map-link { color: #0764a5; text-decoration: underline; text-underline-offset: .2em; }
.page-philosophy .executive-row + .executive-row { margin-top: .25rem; }
.page-philosophy .executive-title { display: inline-block; min-width: 5.5em; }
.page-philosophy .flex_c-unimat { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.page-philosophy .flex_c-unimat_img img { display: block; width: 8rem; height: auto; }
.page-philosophy .company-clients-section { padding: 4rem clamp(1.5rem,4vw,5rem); background: #ebf7ff; scroll-margin-top: 8rem; }
.page-philosophy .company-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-bottom: 2rem; }
.page-philosophy .company-title-row .company-section-title { margin-bottom: 0; }
.page-philosophy .company-title-row p { margin: 0; font-size: 1rem; }
.page-philosophy .company-clients-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem 2rem; margin: 0; padding: 2rem; border-radius: 1rem; list-style: none; background: #fff; }
.page-philosophy .company-clients-list li { padding: .65rem 0; border-bottom: 1px solid #e2eef4; font-size: 1.125rem; letter-spacing: .025em; line-height: 1.8; }
.page-philosophy .company-access-section { position: relative; }
.page-philosophy .company-old-anchor { position: absolute; top: 0; left: 0; scroll-margin-top: 8rem; }
.page-philosophy .company-access-text p { margin: 0 0 .75rem; font-size: 1.125rem; line-height: 1.9; letter-spacing: .04em; }
.page-philosophy .company-access-map { margin: 2rem 0 1.25rem; border: 1px solid #d6e8f1; border-radius: 1rem; overflow: hidden; }
.page-philosophy .company-access-map img { display: block; width: 100%; height: auto; }
.page-philosophy .company-map-link { display: inline-flex; align-items: center; gap: .5rem; font-size: 1rem; font-weight: 700; }
.page-philosophy .company-map-link svg { width: 1rem; height: 1rem; }
.page-philosophy .company-history-section { padding-top: 1rem; }
.page-philosophy .company-history { margin: 0; }
.page-philosophy .company-history-row { position: relative; display: grid; grid-template-columns: 10rem minmax(0,1fr); gap: 2rem; padding: 0 0 2rem 2rem; }
.page-philosophy .company-history-row::before { content: ""; position: absolute; top: .5rem; bottom: -.5rem; left: .3rem; width: 1px; background: #c6e0ed; }
.page-philosophy .company-history-row:last-child { padding-bottom: 0; }
.page-philosophy .company-history-row:last-child::before { display: none; }
.page-philosophy .company-history-row::after { content: ""; position: absolute; top: .5rem; left: 0; width: .65rem; height: .65rem; border-radius: 50%; background: #0764a5; }
.page-philosophy .company-history-row dt { color: #0764a5; font-size: 1rem; font-weight: 700; line-height: 1.9; letter-spacing: .025em; }
.page-philosophy .company-history-row dd { margin: 0; min-width: 0; font-size: 1.125rem; line-height: 1.9; letter-spacing: .04em; }
.page-philosophy .company-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.page-philosophy .company-page-nav a:focus-visible,.page-philosophy .company-jumps a:focus-visible,.page-philosophy .company-map-link:focus-visible { outline: 2px solid #0764a5; outline-offset: 4px; }
@media screen and (max-width:767px) {
 .page-philosophy .company-page-hero { padding: 1.5rem 1.25rem 2rem; }
 .page-philosophy .breadcrumb { margin-bottom: 2rem; }
 .page-philosophy .company-page-hero h1 { font-size: clamp(1.75rem,7vw,2.25rem); }
 .page-philosophy .company-page-nav { gap: 1.25rem; margin-top: 1.5rem; }
 .page-philosophy .company-page-nav a { font-size: .875rem; gap: .4rem; }
 .page-philosophy .company-mission,.page-philosophy .company-value-section,.page-philosophy .company-message-section,.page-philosophy .company-profile-section,.page-philosophy .company-clients-section,.page-philosophy .company-access-section,.page-philosophy .company-history-section { padding: 3rem 1.25rem; }
 .page-philosophy .company-script { font-size: 1.75rem; }
 .page-philosophy .company-mission h2 { font-size: clamp(1.75rem,7vw,2.5rem); line-height: 1.65; margin-bottom: 1.5rem; }
 .page-philosophy .company-mission-body { font-size: 1rem; }
 .page-philosophy .company-section-title { font-size: 2rem; margin-bottom: 2rem; }
 .page-philosophy .company-value { grid-template-columns: minmax(0,1fr); gap: 1rem; padding: 1.75rem 0; }
 .page-philosophy .company-value h3 { font-size: 1.375rem; }
 .page-philosophy .company-value p,.page-philosophy .company-message-copy p { font-size: 1rem; }
 .page-philosophy .company-message-layout { grid-template-columns: minmax(0,1fr); gap: 2rem; }
 .page-philosophy .company-president { max-width: 31.25rem; }
 .page-philosophy .company-message-copy .company-president-name { font-size: 1.125rem; }
 .page-philosophy .company-other-page .kitec-button { gap: 1rem; font-size: 1rem; }
 .page-philosophy .company-jump-wrapper { padding: 1.5rem 1.25rem 0; }
 .page-philosophy .company-jumps { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .5rem 1rem; }
 .page-philosophy .company-jumps a { padding: .75rem 0; font-size: .9375rem; }
 .page-philosophy .company-row { grid-template-columns: minmax(0,1fr); gap: .75rem; padding: 1.25rem 0; }
 .page-philosophy .company-row dd { font-size: 1rem; }
 .page-philosophy .company-clients-list { grid-template-columns: minmax(0,1fr); padding: 1.5rem; gap: .25rem; }
 .page-philosophy .company-clients-list li { font-size: 1rem; }
 .page-philosophy .company-access-text p { font-size: 1rem; }
 .page-philosophy .company-history-section { padding-top: 0; }
 .page-philosophy .company-history-row { grid-template-columns: minmax(0,1fr); gap: .5rem; padding-left: 1.5rem; }
 .page-philosophy .company-history-row dd { font-size: 1rem; }
}

/* 全幅グリッドを元の濃さで表示し、動く光だけ右半分で描画。 */
.page-philosophy .company-page-hero > .kitec-hero-grid { position: absolute; inset: 0; left: 0; right: 0; width: 100%; height: 100%; opacity: 1; pointer-events: none; z-index: -1; -webkit-mask-image: none; mask-image: none; }

/* トップメッセージを本文冒頭に配置。大きな見出し、左本文・右代表写真。 */
.page-philosophy .company-message-section { padding: 4.5rem clamp(1.5rem,4vw,5rem) 5.5rem; background: #fff; }
.page-philosophy .company-message-header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 1rem 1.5rem; padding-bottom: 1.25rem; border-bottom: 1px solid #d6e8f1; }
.page-philosophy .company-message-header .company-script { margin: 0; }
.page-philosophy .company-message-header .company-section-title { margin: 0; padding: 0; font-size: 1.25rem; line-height: 1.6; }
.page-philosophy .company-message-header .company-section-title::before { display: none; }
.page-philosophy .company-message-headline { max-width: 64rem; margin: 3rem 0 3.5rem; font-size: clamp(2rem,4.1vw,3.5rem); font-weight: 800; line-height: 1.65; letter-spacing: .025em; color: #222222; word-break: normal; overflow-wrap: anywhere; }
.page-philosophy .company-message-headline span { display: block; }
.page-philosophy .company-message-layout { grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); column-gap: clamp(3rem,6vw,6rem); align-items: start; }
.page-philosophy .company-message-copy { grid-column: 1; grid-row: 1; padding-top: .25rem; }
.page-philosophy .company-president { grid-column: 2; grid-row: 1; width: 100%; max-width: 28rem; justify-self: end; border-radius: 1rem; }
.page-philosophy .company-president img { display: block; width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; object-position: center; } /* 2026-11-09 写真差し替え：PC用4:5（president.jpg）／スマホ用5:4（president-sp.jpg）を切り分け済み */
.page-philosophy .company-message-copy p { font-size: 1.125rem; line-height: 2.1; margin-bottom: 1.5rem; }
.page-philosophy .company-message-copy .company-president-name { text-align: left; margin-top: 2.5rem; margin-bottom: 0; font-size: 1.25rem; }
@media screen and (max-width:767px) {
 .page-philosophy .company-message-section { padding: 3rem 1.25rem; }
 .page-philosophy .company-message-header { gap: .5rem 1rem; padding-bottom: 1rem; }
 .page-philosophy .company-message-header .company-section-title { font-size: 1rem; }
 .page-philosophy .company-message-headline { margin: 2rem 0; font-size: clamp(1.625rem,6.5vw,2.5rem); line-height: 1.7; }
 .page-philosophy .company-message-layout { grid-template-columns: minmax(0,1fr); gap: 2rem; }
 .page-philosophy .company-president { grid-column: 1; grid-row: 1; justify-self: center; max-width: 25rem; }
 .page-philosophy .company-president img { aspect-ratio: 5/4; object-position: center; }
 .page-philosophy .company-message-copy { grid-column: 1; grid-row: 2; padding-top: 0; }
 .page-philosophy .company-message-copy p { font-size: 1rem; line-height: 2; }
 .page-philosophy .company-message-copy .company-president-name { font-size: 1.125rem; margin-top: 2rem; }
}

.page-philosophy .company-mission-body { max-width: none; }

/* 企業理念：見出しサイズとバリューの区切り線を調整。 */
.page-philosophy .company-message-header { border-bottom: 0; }
.page-philosophy .company-value h3 { color: #222222; }
.page-philosophy .company-value { position: relative; border-top: 1px solid #d6e8f1; border-bottom: 0; }
.page-philosophy .company-value:last-child { border-bottom: 1px solid #d6e8f1; }

@media screen and (min-width: 768px) {
 .page-philosophy .company-script { font-size: 5rem; }
}

/* 英字をセクション見出しとし、各バリューの見出し文字の下だけに線を付ける。 */
.page-philosophy h2.company-script { font-weight: 400; }
.page-philosophy .company-value h3 { position: relative; width: fit-content; max-width: 100%; padding-bottom: .65rem; color: #222222; }
.page-philosophy .company-value h3::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, #0764a5 35%, #74d9c8 100%); }

/* 行の下端を一直線にそろえ、左の見出し列のみ太いグラデーションにする。 */
.page-philosophy .company-value,
.page-philosophy .company-value:last-child { position: relative; border-top: 0; border-bottom: 1px solid #d6e8f1; }
.page-philosophy .company-value h3 { position: static; width: auto; max-width: none; padding-bottom: 0; }
.page-philosophy .company-value h3::after { display: none; }
.page-philosophy .company-value::after { content: ""; position: absolute; left: 0; bottom: -1px; width: calc((100% - 3rem) * 3 / 7); height: 4px; background: linear-gradient(90deg, #0764a5 35%, #74d9c8 100%); }
@media screen and (max-width: 767px) {
 .page-philosophy .company-value::after { width: 40%; }
}

@media screen and (min-width: 768px) { .page-philosophy .company-value { align-items: center; } }

/* 英字見出しを会社概要の本文内見出しと統一 */
.page-philosophy .company-script.company-english-heading {
    position: relative;
    padding-left: .6em;
    margin: 0 0 2.5rem;
    font-family: "Roboto", sans-serif;
    color: #0764a5;
    font-size: clamp(2rem, 3.2vw, 3rem);
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: .025em;
    word-break: normal;
    overflow-wrap: anywhere;
}
.page-philosophy .company-script.company-english-heading::before {
    content: "";
    position: absolute;
    left: .05em;
    top: .5em;
    width: .22em;
    height: .5em;
    background: #0764a5;
    transform: skewX(-20deg);
}
.page-philosophy .company-message-header .company-english-heading { margin-bottom: 0; }
@media screen and (max-width: 767px) {
    .page-philosophy .company-script.company-english-heading {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    .page-philosophy .company-message-header .company-english-heading { margin-bottom: 0; }
}
