@charset "utf-8";
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+JP:wght@400;500;600;700&family=Noto+Serif+JP:wght@200..900&display=swap");
/*
==================================================
タイトル
==================================================
TABLE OF CONTENTS
==================================================
Common(共通設定・ベーススタイル)
Header
Footer
共通要素（ボタン・見出し・レイアウトなど）
各セクションごとの要素
 - Home
 - Projects
 - Materials
 - Company
 - Philosophy
 - News
==================================================
*/
/* Common(共通設定・ベーススタイル) */
/* =============================================== */
:root {
    /* Colors */
    --color-base: #000000;
    --color-beige: #decdc2;
    --color-gray: #8e8e93;

    /* Typography */
    --font-sans: "IBM Plex Sans JP", sans-serif;
    --font-serif: "Noto Serif JP", serif;
    --lh-en: 1.8;
    --lh-heading: 1.4;
    --lh-ja: 2;
    --size-base: 16px;

    /* Spacing & Layout */
    --height-header: 140px;
    --padding-container: clamp(0px, calc((1440px - 100vw) / 2), 80px);
    --padding-header: 80px;
    --space-x-neg: calc(var(--space-x) * -1); /* --space-x のネガティブ値 */
    --space-y: 112px;
    --width-container: 1280px;

    /* Animation */
    --link-motion: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

body {
    background-color: #ffffff;
    color: var(--color-base);
    font-family: var(--font-serif);
    font-size: var(--size-base);
    font-weight: 500;
    line-height: var(--lh-ja);
    line-break: strict;
    overflow-x: hidden;
}

:lang(en) {
    line-height: var(--lh-en);
}

img {
    height: auto;
    width: 100%;
    max-width: 100%;
}

h1,
h2,
h3,
h4 {
    font-weight: 500;
}

a {
    transition: var(--link-motion);
}

a:hover {
    opacity: 0.5;
}

@media (max-width: 1024px) {
    :root {
        --height-header: 120px;
        --padding-container: 48px;
        --padding-header: var(--padding-container);
        --space-y: 80px;
    }
}

@media (max-width: 767px) {
    :root {
        --lh-heading: 1.6;
        --height-header: 90px;
        --padding-container: 24px;
        --space-y: 64px;
        --width-container: 100%;
    }
}

/* ========================================
   Header
======================================== */

.header {
    mix-blend-mode: difference;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}

.header .container {
    align-items: center;
    display: flex;
    height: var(--height-header);
    justify-content: space-between;
    max-width: initial;
    padding-inline: var(--padding-header);
}

/* logo */
.header-logo img {
    display: block;
    height: 16px;
    width: auto;
}

/* hamburger */
.header-hamburger {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 4px;
    width: 55px;
}

.header-hamburger-line {
    background-color: #ffffff;
    display: block;
    height: 1px;
    width: 100%;
}

/* menu */
.header-menu {
    background-color: var(--color-beige);
    opacity: 0;
    pointer-events: none;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    transition:
        opacity 0.5s ease,
        visibility 0.5s ease;
    visibility: hidden;
    width: 100%;
    z-index: 100;
}

.header-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

/* menu bar (logo + close button) */
.header-menu-bar .container {
    align-items: center;
    display: flex;
    height: var(--height-header);
    justify-content: space-between;
    max-width: initial;
    padding-inline: var(--padding-header);
}

.header-menu-logo img {
    display: block;
    filter: invert(1);
    height: 16px;
    width: auto;
}

/* close button */
.header-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    height: 23px;
    padding: 4px;
    position: relative;
    width: 55px;
}

.header-menu-close-line {
    background-color: var(--color-base);
    display: block;
    height: 1px;
    left: 4px;
    position: absolute;
    right: 4px;
    top: 50%;
}

.header-menu-close-line:nth-child(1) {
    transform: rotate(18deg);
}

.header-menu-close-line:nth-child(2) {
    transform: rotate(-18deg);
}

.header-menu-body {
    display: flex;
    gap: 0 160px;
    padding: 0 var(--padding-header) var(--padding-header);
}

/* overlay */
.header-overlay {
    background-color: rgba(0, 0, 0, 0.5);
    height: 100vh;
    left: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    top: 0;
    transition:
        opacity 0.5s ease,
        visibility 0.5s ease;
    visibility: hidden;
    width: 100%;
    z-index: 99;
}

.header-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

/* info */
.header-menu-info {
    flex: 1;
}

.menu-info-heading {
    border-bottom: 1px solid currentColor;
    font-size: 18px;
    line-height: var(--lh-heading);
    padding-bottom: 20px;
}

.menu-info-item {
    border-bottom: 1px solid currentColor;
}

.menu-info-link {
    align-items: center;
    display: flex;
    gap: 16px 32px;
    justify-content: space-between;
    padding-block: 20px;
    padding-right: 16px;
}

.menu-info-link::after {
    border-right: 2px solid currentColor;
    border-top: 2px solid currentColor;
    content: "";
    display: block;
    flex-shrink: 0;
    height: 10px;
    transform: rotate(45deg);
    width: 10px;
}

.menu-info-text {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px 0;
}

.menu-info-date {
    color: rgba(0, 0, 0, 0.5);
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
}

.menu-info-title {
    font-size: 14px;
    line-height: var(--lh-heading);
}

@media (max-width: 1439px) {
    .header-menu-body {
        gap: 0 clamp(40px, 8vw, 160px);
    }
}

@media (max-width: 767px) {
    .header-menu {
        height: 100svh;
        overflow-y: auto;
    }

    .header-menu-body {
        flex-direction: column;
        gap: 48px 0;
    }

    .header-menu-info {
        width: 100%;
    }

    .menu-info-heading {
        padding-bottom: 8px;
    }
}

/* ========================================
   Footer
======================================== */

.footer {
    background-color: var(--color-beige);
}

.footer .container {
    font-family: var(--font-sans);
    font-size: 14px;
    line-height: 1.5;
    padding-top: 80px;
    padding-bottom: 40px;
}

.footer-upper {
    display: grid;
    gap: 0 185px;
    grid-template-columns: 350px 1fr;
    margin-bottom: 80px;
}

.footer-lower {
    align-items: center;
    color: #857b74;
    display: flex;
    font-weight: 400;
    justify-content: space-between;
}

/* logo */
.footer-logo {
    margin-bottom: 72px;
}

.footer-logo img {
    display: block;
    height: 38px;
    width: auto;
}

/* contact */
.footer-contact {
    font-weight: 400;
}

.footer-contact-heading {
    font-weight: 700;
    margin-bottom: 4px;
}

.footer-contact-list {
    margin-bottom: 24px;
}

.footer-contact-list div {
    display: flex;
}

.footer-contact-label {
    font-weight: inherit;
}

.footer-contact-label::after {
    content: ":";
    padding-inline: 0.25em;
}

/* address */
.footer-address p {
    margin-bottom: 24px;
}

.footer-address-name {
    font-size: 15px;
    font-weight: 600;
}

/* map */
.footer-map-link {
    align-items: center;
    display: inline-flex;
    gap: 4px;
}

/* links */
.footer-links {
    display: flex;
    gap: 40px;
}

@media (max-width: 1439px) {
    .footer-upper {
        gap: 0 clamp(40px, 8vw, 185px);
    }
}

@media (max-width: 1024px) {
    .header-menu-body {
        flex-direction: column;
        gap: 48px 0;
    }

    .header-menu-info {
        width: 100%;
    }

    .footer-upper {
        gap: 64px;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .footer .container {
        padding-top: var(--space-y);
        padding-bottom: calc(var(--space-y) / 2);
    }

    .footer-upper {
        gap: 56px;
        grid-template-columns: 1fr;
        margin-bottom: var(--space-y);
    }

    .footer-lower {
        align-items: flex-start;
        flex-direction: column-reverse;
        gap: 32px;
    }

    .footer-logo img {
        height: 24px;
    }

    .footer-logo {
        margin-bottom: 48px;
    }

    .footer-contact-list {
        margin-bottom: 20px;
    }

    .footer-address p {
        margin-bottom: 20px;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }

    .footer-copyright {
        font-size: 12px;
    }
}

/* ========================================
   共通要素（ボタン・見出し・レイアウトなど）
======================================== */

.container {
    margin-inline: auto;
    padding-inline: var(--padding-container);
    max-width: var(--width-container);
}

/** section */
.section {
    padding-block: var(--space-y);
}

/** heading */
.section-heading {
    font-size: 48px;
    font-weight: 400;
    line-height: 1.2;
    margin: 0 0 80px;
    text-align: center;
}

@media (max-width: 767px) {
    .section-heading {
        font-size: 32px;
        margin-bottom: 48px;
    }
}

/** text */
.text-en {
    font-size: 14px;
    line-height: var(--lh-en);
}

@media (max-width: 1024px) {
    br.pc-wide-only {
        display: none;
    }
}

@media (max-width: 767px) {
    br.pc-only {
        display: none;
    }
}

/** link */
.text-links {
    display: flex;
    gap: 0 40px;
}

.text-link {
    align-items: center;
    column-gap: 16px;
    display: inline-flex;
    font-family: var(--font-sans);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.5;
}

.text-link span {
    align-items: center;
    column-gap: 8px;
    display: inline-flex;
}

.text-link::after {
    border-right: 2px solid currentColor;
    border-top: 2px solid currentColor;
    content: "";
    display: inline-block;
    height: 8px;
    margin-top: 2px;
    transform: rotate(45deg);
    width: 8px;
}

/** nav */
.nav {
    display: grid;
    gap: 0 136px;
    grid-template-columns: repeat(3, 1fr);
    font-family: var(--font-sans);
    font-size: 14px;
    line-height: 1.5;
}

.nav-col {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.nav-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nav-heading {
    font-size: 16px;
}

.nav-heading a {
    align-items: center;
    display: inline-flex;
    gap: 4px;
}

.nav-list {
    display: flex;
    flex-direction: column;
    font-weight: 400;
    gap: 16px;
}

.nav-icon {
    flex-shrink: 0;
    width: 18px;
}

@media (max-width: 1439px) {
    .nav {
        gap: 0 clamp(24px, 5vw, 136px);
    }
}

@media (max-width: 767px) {
    .nav {
        gap: 32px;
        grid-template-columns: 1fr;
    }

    .nav-col {
        gap: 32px;
    }

    .nav-group {
        gap: 6px;
    }

    .header .nav-heading {
        font-size: 17px;
    }

    .nav-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0 20px;
        padding-top: 0.2em;
    }

    .nav-item {
        flex: 0 0 calc(50% - 20px / 2);
    }

    .nav-item a {
        display: block;
        padding-block: 6px;
    }
}

/** Page hero */
.page-hero {
    align-items: center;
    display: flex;
    height: clamp(270px, 46.5vw, 670px);
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.page-hero img {
    height: 100%;
    object-fit: cover;
    object-position: top;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.page-hero-heading {
    color: #ffffff;
    font-size: 48px;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

@media (max-width: 767px) {
    .page-hero-heading {
        font-size: 32px;
    }
}

/* ========================================
   各セクションごとの要素
======================================== */

/* ----------------------------------------
   Home
---------------------------------------- */

/** Main visual */
.mainvisual {
    height: 100svh;
    overflow: hidden;
}

.mv-video-wrap {
    height: 100%;
    position: relative;
}

.mv-video {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.mv-sound-icon {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    display: block;
    height: 28px;
    padding: 0;
    position: absolute;
    bottom: 24px;
    right: 24px;
    width: 28px;
}

.mv-sound-icon-on,
.mv-sound-icon-off {
    display: block;
    height: 100%;
    width: 100%;
}

/* 音声ON時：OFFアイコンを表示（ONアイコンを非表示） */
.mv-video-wrap:not(.is-muted) .mv-sound-icon-on {
    display: none;
}

/* ミュート時：ONアイコンを表示（OFFアイコンを非表示） */
.mv-video-wrap.is-muted .mv-sound-icon-off {
    display: none;
}

@media (max-width: 767px) {
    .mv-sound-icon {
        right: var(--padding-container);
        bottom: var(--padding-container);
    }

    .mv-sound-icon-on,
    .mv-sound-icon-off {
        width: 100%;
    }
}

/** Common */
.section-body-ja p:not(:last-child),
.section-body-en p:not(:last-child) {
    margin-bottom: 1.5rem;
}

@media (max-width: 767px) {
    .section-body-ja p:not(:last-child),
    .section-body-en p:not(:last-child) {
        margin-bottom: 16px;
    }
}

/** Project */
.project.section {
    padding-top: calc(var(--space-y) * 1.35);
}

.project-list {
    display: flex;
    flex-wrap: wrap;
    gap: 176px 32px;
}

.project-item {
    width: calc((100% - 32px * 2) / 3);
}

.project-item-image {
    margin-bottom: 24px;
}

.project-item-title {
    font-size: 18px;
    line-height: var(--lh-heading);
    margin-bottom: 8px;
}

.project-item-text {
    font-size: 15px;
    font-weight: 400;
    line-height: var(--lh-heading);
}

@media (max-width: 767px) {
    .project.section {
        padding-top: calc(var(--space-y) * 1.2);
    }

    .project-list {
        gap: 40px 16px;
    }

    .project-item {
        width: calc((100% - 16px) / 2);
    }

    .project-item-image {
        margin-bottom: 12px;
    }

    .project-item-title {
        line-height: 1.4;
        margin-bottom: 4px;
    }

    .project-item-text {
        font-size: 13px;
        line-height: 1.4;
    }
}

/** Material / About 共通 */
.section-inner {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.section-inner-head {
    display: flex;
    flex-direction: column;
    gap: 16px 0;
    line-height: var(--lh-heading);
}

.section-inner-title {
    font-size: 30px;
}

.section-inner-title-en {
    font-size: 20px;
    font-weight: 400;
}

.section-body {
    display: grid;
    gap: 80px;
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 767px) {
    .section-inner {
        gap: 40px;
    }

    .section-body {
        gap: 32px;
        grid-template-columns: 1fr;
    }

    .section-inner-title {
        font-size: 24px;
    }

    .section-inner-title-en {
        font-size: 18px;
    }
}

/** Materials */
.material-list {
    display: flex;
    gap: 3px;
    margin-top: var(--space-y);
}

.material-item {
    flex: 1 0 0;
    overflow: hidden;
    transition: flex-grow 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}

/* CSS fallback (JS なし): 先頭アイテムを広げておく */
.material-item:first-child {
    flex-grow: 3.1532;
}

/* JS 管理モード: is-active クラスが付いたアイテムだけ広がる */
.material-list.js-ready .material-item:first-child {
    flex-grow: 1;
}

.material-list.js-ready .material-item.is-active {
    flex-grow: 3.1532;
}

.material-link {
    background-image: url(../images/img_material_link_01.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto 100%;
    display: block;
    height: 450px;
    position: relative;
    width: 100%;
}

.material-item:first-child .material-link {
    background-image: url(../images/img_material_link_01.jpg);
}

.material-item:nth-child(2) .material-link {
    background-image: url(../images/img_material_link_02.jpg);
}

.material-item:nth-child(3) .material-link {
    background-image: url(../images/img_material_link_03.jpg);
}

.material-item:nth-child(4) .material-link {
    background-image: url(../images/img_material_link_04.jpg);
}

.material-item:nth-child(5) .material-link {
    background-image: url(../images/img_material_link_05.jpg);
}

.material-item:nth-child(6) .material-link {
    background-image: url(../images/img_material_link_06.jpg);
}

.material-item:nth-child(7) .material-link {
    background-image: url(../images/img_material_link_07.jpg);
}

.material-item:nth-child(8) .material-link {
    background-image: url(../images/img_material_link_08.jpg);
}

.material-link:hover {
    opacity: 1;
}

.material-link-text {
    color: #ffffff;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0.2em;
    line-height: 1.2;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    vertical-align: middle;
    writing-mode: vertical-rl;
    z-index: 1;
}

@media (max-width: 767px) {
    .material-list {
        margin-inline: calc(-1 * var(--padding-container));
        -webkit-overflow-scrolling: touch;
        overflow-x: auto;
        padding-inline: var(--padding-container);
        scrollbar-width: none;
    }

    .material-list::-webkit-scrollbar {
        display: none;
    }

    .material-item,
    .material-item:first-child,
    .material-list.js-ready .material-item,
    .material-list.js-ready .material-item:first-child,
    .material-list.js-ready .material-item.is-active {
        flex: 0 0 160px;
        transition: none;
    }

    .material-link {
        height: 280px;
    }

    .material-link-text {
        font-size: 20px;
    }
}

/** Resource */
.resource-panels {
    display: flex;
    flex-direction: column;
    gap: calc(var(--space-y) * 1.4);
}

.resource-block {
    align-items: flex-start;
    display: flex;
    gap: 0 50px;
}

.resource-block > * {
    flex: 1;
}

.resource-title {
    font-size: 23px;
    line-height: var(--lh-heading);
    margin-bottom: 8px;
}

.resource-title-en {
    font-size: 20px;
    line-height: var(--lh-heading);
    margin-bottom: 24px;
}

.resource-body .text-en {
    margin-top: 16px;
}

.resource-body .text-links {
    margin-top: 48px;
}

/* wazai */
.wazai .resource-title {
    margin-bottom: 24px;
}

.wazai-btn {
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.5);
    display: flex;
    font-size: 30px;
    height: 80px;
    justify-content: center;
    position: relative;
    width: 100%;
}

.wazai-btn-name {
    display: block;
}

.wazai-btn-icon {
    opacity: 0.5;
    position: absolute;
    right: 28px;
}

.wazai-btn-icon img {
    display: block;
    height: 20px;
    width: 20px;
}

@media (max-width: 767px) {
    .resource-panels {
        gap: calc(var(--space-y) * 1.5);
    }

    .resource-block {
        flex-direction: column;
        gap: 32px 0;
    }

    .resource-title {
        font-size: 22px;
    }

    .resource-title-en {
        font-size: 18px;
        margin-bottom: 32px;
    }

    .resource-body .text-en {
        margin-top: 24px;
    }

    .wazai-btn {
        font-size: 28px;
    }
}

/* ----------------------------------------
   Projects
---------------------------------------- */

/* intro */
.project-intro-body {
    display: grid;
    gap: 0 80px;
    grid-template-columns: 1fr 1fr;
}

.project-category {
    font-family: var(--font-sans);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 18px;
}

.project-title {
    font-size: 30px;
    line-height: var(--lh-heading);
}

.project-title-en {
    font-size: 18px;
    font-weight: 400;
    line-height: var(--lh-heading);
    margin-bottom: 24px;
}

.project-meta {
    display: flex;
    flex-direction: column;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    gap: 10px 0;
}

.project-meta-label {
    color: var(--color-gray);
    font-weight: 400;
}

.project-intro-text {
    padding-top: 52px;
}

/* copy */
.project-copy.section {
    padding-block: calc(var(--space-y) * 1.42);
}

.project-copy-text {
    font-size: 24px;
    font-weight: 400;
    text-align: center;
    text-wrap: balance;
}

/* visual */
@media (min-width: 1441px) {
    .project-visual {
        margin-inline: auto;
        width: calc(var(--width-container) + 160px);
    }
}

/* gallery */
.project-gallery {
    --gallery-gap: 80px;
}

@media (max-width: 1024px) {
    .project-gallery {
        --gallery-gap: 48px;
    }
}

/* パターン1: 2列 */
.project-gallery-grid {
    columns: 2;
    gap: var(--gallery-gap);
    margin-bottom: calc(var(--gallery-gap) * -1);
}

.project-gallery-grid img {
    break-inside: avoid;
    display: block;
    margin-bottom: var(--gallery-gap);
    width: 100%;
}

/* パターン2: ブロック */
.project-gallery-stack {
    display: flex;
    flex-direction: column;
    gap: var(--space-y);
}

.project-gallery-block img {
    display: block;
    width: 100%;
}

.project-gallery-block-wide {
    margin-inline: -80px;
}

.project-gallery-block-cols {
    display: grid;
    gap: var(--gallery-gap);
    grid-template-columns: 1fr 1fr;
}

.project-gallery-block-asym {
    display: grid;
    gap: var(--gallery-gap);
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.project-gallery-block-asym img:first-child {
    grid-row: 1 / 3;
    height: 100%;
    object-fit: cover;
}

/* credits */
.project-credits {
    margin-bottom: 80px;
}

.project-credits-list {
    display: flex;
    flex-direction: column;
    gap: 10px 0;
}

.project-credits-item {
    display: flex;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

.project-credits-label {
    color: var(--color-gray);
    font-weight: 400;
}

.project-credits-label::after {
    content: ":";
    padding-inline: 0.25em;
}

.project-credits-link span {
    text-decoration: underline;
}

.project-credits-link img {
    margin-left: 0.5em;
    vertical-align: middle;
    width: 13px;
}

/* details */
.product-details-item {
    border-top: 1px solid var(--color-base);
}

.product-details-item:last-child {
    border-bottom: 1px solid var(--color-base);
}

.product-details-heading {
    align-items: center;
    cursor: pointer;
    display: flex;
    font-family: var(--font-sans);
    font-weight: 600;
    justify-content: space-between;
    list-style: none;
    line-height: 1.5;
    padding-block: 15px;
}

.product-details-heading::-webkit-details-marker {
    display: none;
}

.product-details-heading:has(.product-details-cs) {
    cursor: default;
}

.product-details-cs {
    color: #c7c7cc;
    margin-left: 1em;
    margin-right: auto;
}

.product-details-icon {
    display: block;
    flex-shrink: 0;
    height: 20px;
    margin: 6px;
    position: relative;
    width: 20px;
}

.product-details-icon::before,
.product-details-icon::after {
    content: "";
    display: block;
    position: absolute;
}

.product-details-icon::before {
    border-top: 2px solid currentColor;
    left: 0;
    top: calc(50% - 1px);
    width: 100%;
}

.product-details-icon::after {
    border-left: 2px solid currentColor;
    height: 100%;
    left: calc(50% - 1px);
    top: 0;
}

details[open] .product-details-icon::after {
    display: none;
}

.product-details-body {
    padding-bottom: 24px;
}

@media (max-width: 767px) {
    .project-intro-body {
        gap: 40px 0;
        grid-template-columns: 1fr;
    }

    .project-category {
        font-size: 18px;
        margin-bottom: 16px;
    }

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

    .project-title-en {
        font-size: 16px;
        margin-bottom: 32px;
    }

    .project-intro-text {
        padding-top: 0;
    }

    .project-copy-text {
        font-size: 20px;
        text-wrap: wrap;
    }

    .project-gallery {
        --gallery-gap: 16px;
    }

    .project-gallery-block-wide {
        margin-inline: calc(var(--padding-container) * -1);
    }

    .project-credits {
        margin-bottom: var(--space-y);
    }

    .project-credits-list {
        gap: 20px 0;
    }

    .project-credits-item {
        display: block;
    }

    .project-credits-label {
        margin-bottom: 4px;
    }

    .project-credits-label::after {
        content: none;
    }
}

/* ----------------------------------------
   Materials
---------------------------------------- */

.materials .page-hero {
    height: clamp(270px, 34.7vw, 500px);
}

/* lead */
.materials-lead {
    padding-top: calc(var(--space-y) * 1.4);
}

.materials-lead .container {
    display: grid;
    gap: var(--space-y) 0;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto;
}

.materials-lead-en {
    align-self: end;
    grid-column: 1;
    grid-row: 1;
    padding-bottom: 24px;
    padding-left: clamp(40px, calc(19.28vw - 157.6px), 120px);
    padding-right: 90px;
}

.materials-lead-en .materials-lead-heading {
    font-size: 18px;
    line-height: var(--lh-heading);
    margin-bottom: 22px;
}

.materials-lead-en .text-en {
    line-height: 1.5;
}

.materials-lead-ja {
    grid-column: 2;
    grid-row: 1;
    letter-spacing: 0.1em;
    line-height: 1.8;
    padding-right: clamp(40px, calc(19.28vw - 157.6px), 120px);
    writing-mode: vertical-rl;
}

.materials-lead-ja .materials-lead-heading {
    font-size: 30px;
    line-height: 1.1;
    margin-left: 22px;
}

.materials-lead-img {
    display: block;
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
}

/* list */
.materials-item {
    align-items: end;
    display: grid;
    gap: 0 80px;
    grid-template-columns: 5fr 6fr;
    padding-inline: 60px;
}

.materials-item:nth-child(even) {
    grid-template-columns: 6fr 5fr;
}

.materials-item-heading {
    font-weight: 400;
}

.materials-item-text {
    display: flex;
    flex-direction: column;
    gap: 90px 0;
}

.materials-item-text > .materials-item-heading {
    align-self: center;
    font-size: 40px;
    letter-spacing: 0.2em;
    line-height: 1.2;
    writing-mode: vertical-rl;
}

.materials-item-en .materials-item-heading {
    line-height: var(--lh-heading);
    margin-bottom: 10px;
}

.materials-item-en .materials-item-body {
    font-size: 13px;
    line-height: 2;
}

.materials-item:nth-child(even) .materials-item-image {
    order: -1;
}

@media (max-width: 1439px) {
    .materials-lead-en {
        padding-right: 0;
    }
}

@media (max-width: 1024px) {
    .materials-lead .container {
        padding-inline: var(--padding-container);
    }

    .materials-lead-en {
        padding-left: 0;
    }

    .materials-lead-ja {
        padding-right: 0;
    }

    .materials-item {
        align-items: start;
        padding-inline: 0;
    }
}

@media (max-width: 767px) {
    .materials-lead {
        padding-top: var(--space-y);
    }

    .materials-lead .container {
        display: block;
    }

    .materials-lead-en {
        margin-bottom: var(--space-y);
        padding-bottom: 0;
        padding-right: 0;
    }

    .materials-lead-en .materials-lead-heading {
        margin-bottom: 16px;
    }

    .materials-lead-ja {
        line-height: var(--lh-ja);
        margin-bottom: 48px;
        writing-mode: initial;
    }

    .materials-lead-ja .materials-lead-heading {
        font-size: 24px;
        margin-bottom: 48px;
        margin-left: 0;
        text-align: center;
    }

    .materials-item,
    .materials-item:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .materials-item {
        gap: 48px 0;
        padding-inline: 0;
    }

    .materials-item-text {
        gap: 32px 0;
    }

    .materials-item-text > .materials-item-heading {
        font-size: 30px;
        writing-mode: initial;
    }

    .materials-item-image {
        order: -1;
        max-width: initial;
    }

    .materials-item-en .materials-item-heading {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .materials-item-en .materials-item-body {
        font-size: 14px;
        line-height: var(--lh-en);
    }
}

/* ----------------------------------------
   Company
---------------------------------------- */

.company .page-hero {
    height: clamp(270px, 34.7vw, 500px);
}

.company .page-hero img {
    object-position: bottom;
}

/** Message */
.message-list {
    display: flex;
    flex-direction: column;
    gap: calc(var(--space-y) * 2);
}

.message-item-header {
    display: grid;
    gap: 0 50px;
    grid-template-columns: minmax(0, 600px) minmax(0, 630px);
    margin-bottom: var(--space-y);
}

.message-item-image img {
    display: block;
    width: 100%;
}

.message-item-info {
    display: flex;
    flex-direction: column;
    padding: clamp(40px, calc(23.81vw - 142.9px), 200px) 0 0 16px;
}

.message-item-role {
    font-size: 20px;
    font-weight: 400;
    line-height: var(--lh-heading);
    margin-bottom: 16px;
}

.message-item-name {
    font-size: 53px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 2px;
}

.message-item-name-ja {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
}

.message-item-quote {
    line-height: var(--lh-heading);
    margin-top: auto;
}

.message-item-quote-ja {
    font-size: 30px;
    margin-bottom: 20px;
}

.message-item-quote-en {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
}

.message-item-body {
    display: grid;
    gap: 0 50px;
    grid-template-columns: 1fr 1fr;
}

.message-item-body p:not(:last-child) {
    margin-bottom: 1.5rem;
}

.message-item-profile {
    font-family: var(--font-sans);
    margin-top: 40px;
}

.message-item-profile-heading {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 10px;
}

.message-item-profile-body {
    align-items: start;
    display: grid;
    gap: 0 50px;
    grid-template-columns: 1fr 1fr;
    font-size: 15px;
    line-height: 1.5;
}

/** Company profile */
.overview-table {
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.5;
}

.overview-table-row {
    align-items: center;
    display: grid;
    gap: 0 24px;
    grid-template-columns: 172px 1fr 1fr;
    padding-block: 20px;
}

.overview-table-term {
    font-weight: 600;
}

@media (max-width: 1024px) {
    .message-item-role {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .message-item-name {
        font-size: 42px;
    }

    .message-item-name-ja {
        font-size: 16px;
    }

    .message-item-quote-ja {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .message-item-quote-en {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .message-list {
        gap: calc(var(--space-y) * 2);
    }

    .message-item-header {
        gap: 32px 0;
        grid-template-columns: 1fr;
        margin-bottom: 40px;
    }

    .message-item-info {
        padding: 0;
    }

    .message-item-name {
        font-size: 38px;
        margin-bottom: 4px;
    }

    .message-item-quote {
        margin-top: 40px;
    }

    .message-item-body {
        gap: 32px 0;
        grid-template-columns: 1fr;
    }

    .message-item-body p:not(:last-child) {
        margin-bottom: 16px;
    }

    .message-item-profile {
        font-weight: 400;
        margin-top: 40px;
    }

    .message-item-profile-heading {
        font-size: 16px;
        font-weight: 500;
        margin-bottom: 16px;
    }

    .message-item-profile-body {
        gap: 16px 0;
        grid-template-columns: 1fr;
        line-height: 1.8;
    }

    .overview-table-row {
        display: block;
    }

    .overview-table-term {
        margin-bottom: 24px;
    }

    .overview-table-desc[lang="en"] {
        line-height: 1.4;
        margin-top: 12px;
    }
}

/* ----------------------------------------
   Philosophy
---------------------------------------- */

.philosophy .page-hero {
    height: clamp(270px, 34.7vw, 500px);
}

/* lead */
.philosophy-lead {
    padding-top: calc(var(--space-y) * 1.4);
}

.philosophy-lead .container {
    display: grid;
    gap: var(--space-y) 0;
    grid-template-columns: 5fr 8fr;
    grid-template-rows: auto auto;
    padding-inline: 120px;
}

.philosophy-lead-en {
    align-self: end;
    grid-column: 1;
    grid-row: 1;
    padding-bottom: 24px;
    padding-right: 90px;
}

.philosophy-lead-en .philosophy-lead-heading {
    font-size: 18px;
    line-height: var(--lh-heading);
    margin-bottom: 22px;
}

.philosophy-lead-ja {
    grid-column: 2;
    grid-row: 1;
    letter-spacing: 0.1em;
    line-height: 1.8;
    writing-mode: vertical-rl;
}

.philosophy-lead-ja .philosophy-lead-heading {
    font-size: 30px;
    line-height: 1.1;
    margin-left: 22px;
}

.philosophy-lead-img {
    display: block;
    grid-column: 2;
    grid-row: 2;
    width: 100%;
}

/* body */
.philosophy-body .container {
    align-items: flex-start;
    display: flex;
    flex-direction: row-reverse;
    gap: 60px;
    padding-bottom: 60px;
    padding-inline: 120px;
    position: relative;
}

.philosophy-body-text {
    letter-spacing: 0.05em;
    line-height: 1.8;
    writing-mode: vertical-rl;
}

.philosophy-body-text p + p {
    margin-right: clamp(12px, 2.1vw, 30px);
}

.philosophy-services {
    display: flex;
    flex-direction: column;
    gap: clamp(6px, calc(8.04vw - 55.7px), 60px);
    writing-mode: vertical-rl;
}

.philosophy-service {
    display: flex;
    gap: clamp(24px, 4.2vw, 60px);
}

.philosophy-service-title {
    flex-shrink: 0;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.1em;
    height: 11em;
}

.philosophy-service-body {
    letter-spacing: 0.05em;
    line-height: 1.8;
    margin: 0;
}

.philosophy-body-img {
    position: absolute;
    bottom: 0;
    left: -80px;
    width: 400px;
}

@media (max-width: 1439px) {
    .philosophy-lead {
        padding-top: var(--space-y);
    }

    .philosophy-body .container {
        padding-bottom: 0;
    }

    .philosophy-body-img {
        display: none;
    }

    .philosophy-lead-en {
        padding-right: 0;
    }
}

@media (max-width: 1024px) {
    .philosophy-lead .container,
    .philosophy-body .container {
        padding-inline: var(--padding-container);
    }
}

@media (max-width: 767px) {
    .philosophy-lead .container {
        display: block;
    }

    .philosophy-lead-en {
        margin-bottom: var(--space-y);
        padding-bottom: 0;
        padding-right: 0;
    }

    .philosophy-lead-en .philosophy-lead-heading {
        margin-bottom: 16px;
    }

    .philosophy-lead-ja {
        line-height: var(--lh-ja);
        margin-bottom: 48px;
        writing-mode: initial;
    }

    .philosophy-lead-ja .philosophy-lead-heading {
        font-size: 24px;
        margin-bottom: 48px;
        margin-left: 0;
        text-align: center;
    }

    .philosophy-body .container {
        flex-direction: column;
        gap: 48px;
        padding-bottom: 0;
    }

    .philosophy-body-text {
        line-height: var(--lh-ja);
        writing-mode: initial;
    }

    .philosophy-body-text p + p {
        margin-top: 20px;
        margin-right: 0;
    }

    .philosophy-services {
        gap: 32px;
        writing-mode: initial;
    }

    .philosophy-service {
        flex-direction: column;
        gap: 12px;
    }

    .philosophy-service-title {
        height: auto;
    }

    .philosophy-body-img {
        display: block;
        position: static;
        width: auto;
    }
}

/* ----------------------------------------
   News
---------------------------------------- */

.news-section.section {
    padding-top: calc(var(--height-header) + var(--space-y));
}

.news-article {
    align-items: start;
    display: grid;
    gap: 0 50px;
    grid-template-columns: 1fr 1fr;
}

.news-article + .news-article {
    margin-top: var(--space-y);
}

.news-article-image img {
    display: block;
    width: 100%;
}

.news-article-title {
    font-size: 30px;
    line-height: var(--lh-heading);
    margin-bottom: 16px;
}

.news-article-body > * + * {
    margin-top: 1rem;
}

.news-text-subheading {
    font-size: 20px;
    font-weight: 400;
    line-height: var(--lh-heading);
    margin-bottom: 24px;
}

.news-text-sans {
    font-family: var(--font-sans);
    font-weight: 400;
}

.news-text-sans-bold {
    font-family: var(--font-sans);
}

.news-text-underline {
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 767px) {
    .news-article {
        gap: 32px 0;
        grid-template-columns: 1fr;
    }

    .news-article-title {
        font-size: 24px;
    }
}
