/***** ADD 2026.09.02 : Mitaka V5 Point of View / Learning Loop *****/
/*
 * Existing visual language is intentionally preserved:
 * warm neutrals / red section numbers / editorial typography / split image blocks.
 */

.principles-section {
    padding: 5.2rem 0 5.4rem;
    background: #f8f6f2;
}

.principles-heading {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    column-gap: clamp(1.6rem, 3vw, 3.25rem);
    align-items: start;
    margin-bottom: 2.8rem;
}

.principles-index,
.learning-index {
    padding-top: 0.15rem;
    color: #c82824;
    font-family: "Poppins", sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.12em;
}

.principles-kicker,
.learning-kicker {
    display: block;
    margin-bottom: 0.7rem;
    color: #ab987a;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.principles-heading h2,
.learning-heading h2 {
    margin: 0;
    font-size: clamp(2rem, 2.8vw, 2.8rem);
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.04em;
    text-align: left;
}

.principles-main {
    display: grid;
    grid-template-columns: minmax(0, 1.16fr) minmax(300px, 0.84fr);
    gap: clamp(2.5rem, 6vw, 6.5rem);
    align-items: stretch;
    padding-left: calc(58px + clamp(1.6rem, 3vw, 3.25rem));
}

.principles-copy > p {
    max-width: 680px;
    margin: 0 0 0.85rem;
    color: #5b595f;
    font-size: 0.86rem;
    line-height: 1.95;
    text-align: left;
}

.principles-copy .principles-lead {
    color: #34363a;
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.9;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 2.3rem 0 0;
    padding: 0;
    border-top: 1px solid rgba(50, 55, 62, 0.22);
    list-style: none;
}

.principles-grid li {
    min-height: 174px;
    padding: 1.5rem 1.4rem 1.55rem 0;
    border-right: 1px solid rgba(50, 55, 62, 0.12);
    border-bottom: 1px solid rgba(50, 55, 62, 0.18);
}

.principles-grid li:nth-child(even) {
    padding-left: 1.4rem;
    padding-right: 0;
    border-right: none;
}

.principles-grid li > span {
    display: block;
    margin-bottom: 0.65rem;
    color: #c82824;
    font-family: "Poppins", sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.14em;
}

.principles-grid h3 {
    margin: 0 0 0.55rem;
    color: #32373e;
    font-size: 1.05rem;
    line-height: 1.55;
    letter-spacing: 0.04em;
}

.principles-grid p {
    margin: 0;
    color: #6c6a70;
    font-size: 0.75rem;
    line-height: 1.8;
    text-align: left;
}

.photo-placeholder {
    position: relative;
    display: flex;
    min-height: 470px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(50, 55, 62, 0.14);
    background:
        linear-gradient(135deg, rgba(171, 152, 122, 0.12), rgba(50, 55, 62, 0.08)),
        #e8e5df;
}

.photo-placeholder::before,
.photo-placeholder::after {
    content: "";
    position: absolute;
    width: 150%;
    height: 1px;
    background: rgba(50, 55, 62, 0.12);
}

.photo-placeholder::before { transform: rotate(36deg); }
.photo-placeholder::after { transform: rotate(-36deg); }

.photo-placeholder-inner {
    position: relative;
    z-index: 1;
    width: calc(100% - 3rem);
    padding: 1.35rem 1rem;
    border: 1px solid rgba(50, 55, 62, 0.18);
    background: rgba(248, 246, 242, 0.82);
    text-align: center;
}

.photo-placeholder-inner span {
    display: block;
    margin-bottom: 0.55rem;
    color: #8d795b;
    font-family: "Poppins", sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.18em;
}

.photo-placeholder-inner p {
    margin: 0;
    color: #68666b;
    font-size: 0.7rem;
    line-height: 1.75;
    letter-spacing: 0.04em;
}

/* Learning: dark split section that echoes Method and Human Judgement */
.learning-section {
    display: grid;
    grid-template-columns: minmax(460px, 0.98fr) minmax(0, 1.02fr);
    min-height: 650px;
    overflow: hidden;
    background: #30343a;
    color: #ffffff;
}

.learning-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5.5rem clamp(3.25rem, 6vw, 7rem) 5.3rem clamp(2.5rem, 4.7vw, 5.5rem);
}

.learning-index {
    display: block;
    margin-bottom: 1.6rem;
    color: #e05a55;
}

.learning-kicker {
    color: #c6b496;
}

.learning-heading h2 {
    color: #ffffff;
}

.learning-copy {
    max-width: 650px;
    margin-top: 1.5rem;
}

.learning-copy p {
    margin: 0 0 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.84rem;
    line-height: 1.95;
    text-align: left;
}

.learning-loop {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding: 1.35rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.learning-loop span {
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-size: 0.67rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.learning-loop small {
    color: rgba(255, 255, 255, 0.48);
    font-family: "Open Sans", sans-serif;
    font-size: 0.58rem;
    font-weight: 400;
    letter-spacing: 0.08em;
}

.learning-loop i {
    margin: 0 0.18rem;
    color: #e7a19d;
    font-size: 0.8rem;
    font-style: normal;
}

.learning-note {
    max-width: 650px;
    margin: 1.35rem 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.79rem;
    line-height: 1.9;
    text-align: left;
}

.learning-visual {
    min-height: 650px;
    border: none;
    /* 左側に写真を置くため、中央境界の右側が斜めに落ちる形へ反転 */
    clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
}

.photo-placeholder-dark {
    background:
        linear-gradient(135deg, rgba(171, 152, 122, 0.18), rgba(25, 29, 34, 0.28)),
        #555a60;
}

.photo-placeholder-dark::before,
.photo-placeholder-dark::after {
    background: rgba(255, 255, 255, 0.12);
}

.photo-placeholder-dark .photo-placeholder-inner {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(35, 39, 44, 0.76);
}

.photo-placeholder-dark .photo-placeholder-inner span {
    color: #d4c09e;
}

.photo-placeholder-dark .photo-placeholder-inner p {
    color: rgba(255, 255, 255, 0.68);
}

.ai-cta-note-visible {
    margin-top: 1.25rem;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.62);
}

@media screen and (max-width: 980px) {
    .principles-main {
        grid-template-columns: 1fr;
    }

    .principles-visual {
        min-height: 390px;
    }

    .learning-section {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .learning-visual {
        min-height: 390px;
        /* モバイルでは上に写真が来るので、下辺側が斜めに落ちる */
        clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
    }

    .learning-content {
        padding: 4.7rem 8vw 4.8rem;
    }
}

@media screen and (max-width: 600px) {
    .principles-section {
        padding: 3.8rem 0 4rem;
    }

    .principles-heading {
        display: block;
        margin-bottom: 1.8rem;
    }

    .principles-index {
        display: block;
        margin-bottom: 0.6rem;
    }

    .principles-heading h2,
    .learning-heading h2 {
        font-size: 1.9rem;
        line-height: 1.55;
    }

    .principles-main {
        display: block;
        padding-left: 0;
    }

    .principles-copy > p {
        font-size: 0.84rem;
        line-height: 1.9;
    }

    .principles-copy .principles-lead {
        font-size: 0.91rem;
    }

    .principles-grid {
        grid-template-columns: 1fr;
        margin-top: 1.8rem;
    }

    .principles-grid li,
    .principles-grid li:nth-child(even) {
        min-height: 0;
        padding: 1.2rem 0 1.3rem;
        border-right: none;
    }

    .principles-visual {
        min-height: 280px;
        margin-top: 2.2rem;
    }

    .learning-content {
        padding: 4rem 22px 4.2rem;
    }

    .learning-index {
        margin-bottom: 1rem;
    }

    .learning-copy p {
        font-size: 0.81rem;
    }

    .learning-loop {
        gap: 0.4rem;
    }

    .learning-loop span {
        font-size: 0.59rem;
    }

    .learning-loop small {
        font-size: 0.53rem;
    }

    .learning-loop i {
        font-size: 0.68rem;
    }

    .learning-visual {
        min-height: 280px;
        clip-path: polygon(0 9%, 100% 0, 100% 100%, 0 100%);
    }
}


/***** FIX 2026.09.02 : Message section — text left / photo right *****/
.message-section {
    grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
}

.message-content {
    padding:
        clamp(5rem, 8vw, 8.5rem)
        clamp(3.5rem, 7vw, 8rem)
        clamp(5rem, 8vw, 8.5rem)
        clamp(2.5rem, 7vw, 7.5rem);
}

.message-visual {
    margin-right: 0;
    margin-left: -1px;
    /* 右側写真用。中央側（左辺）を斜めにする */
    clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
}

@media (max-width: 991px) {
    .message-section {
        display: flex;
        flex-direction: column;
    }

    .message-content {
        order: 1;
        padding: 4.5rem 8vw 5.5rem;
    }

    .message-visual {
        order: 2;
        min-height: 440px;
        margin-left: 0;
        margin-top: -1px;
        /* 下に写真が来るため、上辺を斜めにして本文との境界をつなぐ */
        clip-path: polygon(0 12%, 100% 0, 100% 100%, 0 100%);
    }
}

@media (max-width: 575px) {
    .message-content {
        padding: 3.6rem 1.4rem 4.5rem;
    }

    .message-visual {
        min-height: 300px;
        clip-path: polygon(0 12%, 100% 0, 100% 100%, 0 100%);
    }
}


/***** FIX 2026.09.02 : Decorative inner numbers -> editorial markers *****/
/*
 * 数字は「章番号 / CASE / STEP」など意味がある場所だけに残す。
 * セクション内部の小項目番号は、AI的なフレームワーク感を弱めるため整理。
 */

/* はじめに：番号ではなく、ごく短い赤線 */
.issues-list li {
    grid-template-columns: 16px minmax(0, 1fr);
    gap: 0.7rem;
}
.issues-item-mark {
    display: block;
    width: 10px;
    height: 1px;
    background: #c82824;
    opacity: 0.9;
}

/* 私たちの進め方：順序の数字を見せず、項目を示す短線に */
.method-list li {
    grid-template-columns: 16px 108px minmax(0, 1fr);
}
.method-mark {
    display: block;
    align-self: center;
    width: 10px;
    height: 1px;
    background: #e7a19d;
    opacity: 0.95;
}

/* 判断の基準：記号も置かず、罫線と見出しだけで読ませる */
.principles-grid li {
    min-height: 154px;
}
.principles-grid h3 {
    margin-top: 0;
}

/* 外部マーケティング部門：短い赤線だけ */
.support-list li {
    grid-template-columns: 16px minmax(0, 1fr);
    column-gap: 0.8rem;
}
.support-mark {
    display: block;
    width: 10px;
    height: 1px;
    margin-top: 0.72rem;
    background: #c95b56;
    opacity: 0.9;
}

/* 三つの視点：番号も装飾線も置かず、見出しそのものを読ませる */
.value-item::before {
    content: none;
    display: none;
}

@media screen and (max-width: 600px) {
    .issues-list li {
        grid-template-columns: 14px minmax(0, 1fr);
        gap: 0.6rem;
    }

    .method-list li {
        grid-template-columns: 14px 84px minmax(0, 1fr);
        column-gap: 0.6rem;
    }

    .method-mark,
    .support-mark,
    .issues-item-mark {
        width: 10px;
    }

    .support-list li {
        grid-template-columns: 14px minmax(0, 1fr);
        column-gap: 0.6rem;
    }
}


/***** FIX 2026.09.02 : Marker size / vertical alignment refinements *****/
.method-mark {
    align-self: center;
    margin-top: 0;
}
