/* ==========================================
   ABOUT ページ
========================================== */

/* ABOUT HERO */
.about-hero {
    /* background: var(--clinical-white); */
    padding: 100px 0 60px;
    max-width: 1280px;
    margin: 0 auto;
}

/* .about-hero .section-title {
    font-size: 8rem;
    font-weight: 300;
    color: var(--clinical-white-light);
    text-align: left;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
} */

.about-hero-subtitle-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.about-mvv-section {
    background-image: url('../images/about/about-anpiel/mvv-back.png');
    background-position: right center;
    background-size: 67%;
    background-repeat: no-repeat;
    padding: 120px 0;
}

.about-subtitle {
    font-size: 1.5rem;
    color: var(--corporate-brown);
    font-weight: 400;
}

.about-divider-line {
    display: inline-block;
    width: 80px;
    height: 1px;
    background: var(--skin-beige);
}

.about-divider {
    width: 100%;
    height: 1px;
    background: var(--corporate-brown-light);
    border: none;
    margin: 60px 0;
}

/* ABOUT CATCHPHRASE */
/* .about-catchphrase-section {
    background: var(--clinical-white);
} */

.text-hero-lead {
    font-size: 2rem;
    font-weight: 400;
    color: var(--corporate-brown);
    line-height: 1.8;
    margin-bottom: 60px;
    text-align: left;
    letter-spacing: 0.05em;
}

/* 後方互換性のため残す */
.about-catchphrase {
    font-size: 2rem;
    font-weight: 400;
    color: var(--corporate-brown);
    line-height: 1.8;
    margin-bottom: 60px;
    text-align: center;
    letter-spacing: 0.05em;
}

.about-description {
    max-width: 768px;
    margin: 0 auto;
    font-size: 0.95rem;
    line-height: 2;
    color: var(--font-color);
    text-align: center;
}

/* 新しいテキストクラス - text-main */
.text-main {
    font-size: 0.95rem;
    line-height: 2;
    color: var(--font-color);
}

.about-catchphrase-section .text-main {
    max-width: 768px;
    margin: 0 auto;
    text-align: left;
}

.about-methods-section .text-main {
    font-size: 0.9rem;
    line-height: 2;
    text-align: left;
    max-width: 800px;
    margin: 0 auto 80px;
    color: var(--clinical-white);
}

/* methods-heading 内の text-main（methods ラベル） */
.methods-heading .text-main {
    text-align: left;
    margin-bottom: 0;
    margin-left: 0;
}

.method-content .text-main {
    font-size: 0.85rem;
    line-height: 1.9;
    color: var(--clinical-white);
    margin-bottom: 24px;
}

.method-content .text-main:first-of-type {
    font-size: 0.95rem;
    color: var(--clinical-white);
    margin-bottom: 16px;
}

.mvv-item .text-main {
    font-size: 0.9rem;
    line-height: 1.9;
    color: var(--font-color);
}
*/

/* message セクションの最初の text-main（message ラベル） */
.about-message-section > .container > .text-main:first-child {
    color: #BD897E;
}


.message-text-box .text-main {
    font-size: 0.9rem;
    line-height: 1.9;
    color: #333333;
    margin-bottom: 25px;
}

.message-text-box .text-main.ceo-sentence {
    color: #333333;
}

.history-item .text-main {
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--corporate-brown);
    padding-left: 56px;
}

.profile-row .text-main {
    font-size: 0.85rem;
    color: var(--corporate-brown);
    line-height: 1.8;
}

.profile-row .text-main:first-child {
    letter-spacing: 0.05em;
}

/* 新しいテキストクラス - text-title 
.text-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--skin-beige);
    letter-spacing: 0.1em;
}*/

/* desc-title のスタイルを text-title に適用 */
.about-methods-section > .text-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--corporate-brown);
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    text-align: center;
}

/* desc-title クラス用（PC/タブレット時のみ中央揃え） */
.about-methods-section .desc-title {
    text-align: center;
}

.mvv-item .text-title:first-child {
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: var(--skin-beige);
}

.mvv-item .text-title:not(:first-child) {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--corporate-brown);
    line-height: 1.6;
}

.method-content .text-title {
    font-size: 1.1rem;
    color: var(--clinical-white);
    letter-spacing: 0.1em;
    margin-bottom: 6px;
}

.message-item-2 .text-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--clinical-white);
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

/* 新しいテキストクラス - text-section-jp */
.text-section-jp {
    font-size: 32px;
    font-weight: 400;
    line-height: 42px;
    letter-spacing: 0.03em;
    color: var(--corporate-brown);
    margin-bottom: 24px;
}

.methods-heading .text-section-jp,
.history-heading .text-section-jp,
.profile-heading .text-section-jp {
    font-size: 32px;
    font-weight: 400;
    line-height: 42px;
    letter-spacing: 0.03em;
    color: var(--corporate-brown);
    margin-bottom: 24px;
}

.about-methods-section .text-section-jp {
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--clinical-white);
    letter-spacing: 0.12em;
}

/* 新しいテキストクラス - text-card-title */
.text-card-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--skin-beige);
    letter-spacing: 0.05em;
}

.history-item .text-card-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--skin-beige);
    margin-bottom: 4px;
    letter-spacing: 0.05em;
    position: relative;
    padding-left: 56px; /* 40px (line width) + 16px (gap) */
}

.history-item .text-card-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 1px;
    background: linear-gradient(to left, #BD897E, transparent);
}

.method-point .text-card-title {
    font-size: 0.75rem;
    line-height: 1.6;
    color: var(--clinical-white);
}

.message-item-2 .text-card-title {
    font-size: 1rem;
    font-weight: 400;
    color: var(--clinical-white);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* MISSION VISION VALUE */
.about-mvv-section {
    /* background: var(--clinical-white); */
    padding: 100px 0;
}

.mvv-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: flex-start;
}

.mvv-image {
    width: 100%;
}

.mvv-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.mvv-content {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.mvv-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mvv-title {
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: var(--skin-beige);
}

.mvv-subtitle {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--corporate-brown);
    line-height: 1.6;
}

.mvv-text {
    font-size: 0.9rem;
    line-height: 1.9;
    color: var(--font-color);
}

/* MESSAGE SECTION */
.about-message-section {
    /* background: var(--clinical-white); */
    padding: 100px 0;
}

/* 下層ページ セクション内サブタイトル - 英語タイトル（Body/Mainフォントスタイル） */
.message-section-title,
.methods-label,
.history-label,
.profile-label {
    font-size: 16px;
    font-weight: 500;
    line-height: 26px;
    letter-spacing: 0.01em;
    color: #3B1700;
    text-align: left;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
}

/* グラデーションライン（英語の右横に配置） */
.message-section-title::after,
.methods-label::after,
.history-label::after,
.profile-label::after {
    content: '';
    display: block;
    height: 1px;
    background: linear-gradient(to right, #BD897E, transparent);
    width: var(--gradient-line-width, 100px);
    flex-shrink: 0;
}

/* 日本語見出し（Heading/Section JPフォントスタイル） */
.message-label,
.methods-title,
.history-title,
.profile-title {
    font-size: 32px;
    font-weight: 400;
    line-height: 42px;
    letter-spacing: 0.03em;
    color: var(--corporate-brown);
    margin-bottom: 24px;
}

.about-photo {
    padding: 0;
}

.message-item {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 16px;
    align-items: center;
    margin-bottom: 80px;
    width: 100%;
}

.message-item-1 {
    grid-template-columns: 320px 1fr;
}

.message-item-2 {
    grid-template-columns: minmax(0, 3fr) minmax(320px, 2fr);
    gap: 16px;
    align-items: stretch;
}

.message-item-2 .message-photo {
    order: 2;
    width: 100%;
    object-fit: cover;
    width: auto;
    /* height: 500px; */
}

.message-item-2 .message-text-box {
    order: 1;
    background: var(--corporate-brown);
    padding: 48px 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: none !important;
    outline: none;
    box-shadow: none;
}

.message-item-2 .message-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.message-item-2 .message-signature {
    margin-top: 12px;
    text-align: right;
}

.message-about-photo {
    width: 100%;
    height: 100%;
}

/* .message-about-photo img {
    position: absolute;
    bottom: 18%;
    left: 4%;
    max-width: 30%;
    height: auto;
} */

.message-text-box {
    padding: 40px;
}

.message-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--skin-beige);
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.message-subtitle {
    font-size: 1rem;
    font-weight: 400;
    color: var(--clinical-white);
    line-height: 1.6;
    margin-bottom: 20px;
}

.message-content {
    font-size: 0.9rem;
    line-height: 1.9;
    color: var(--clinical-white);
    margin-bottom: 25px;
}

.message-content.ceo-sentence {
    color: var(--font-color);
}

.message-photo-w100 {
    width: 100%;
}

.message-signature {
    font-size: 0.85rem;
    font-weight: 400;
}

.message-text-box {
    margin-left: 0;
}

/* METHODS SECTION */
.about-methods-section {
    background: var(--corporate-brown);
    color: var(--clinical-white);
    padding: 120px 0;
}

.methods-heading {
    margin-bottom: 60px;
}

.methods-label {
    font-size: 0.9rem;
    color: var(--skin-beige);
    letter-spacing: 0.2em;
    margin-bottom: 8px;
}

.methods-title {
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--clinical-white);
    letter-spacing: 0.12em;
}

.methods-intro-title {
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 24px;
    color: var(--clinical-white);
}

.methods-intro-text {
    font-size: 0.9rem;
    line-height: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
    color: var(--clinical-white);
}

.method-item {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 80px;
}

.method-item-reverse {
    grid-template-columns: 1.2fr 1fr;
}

.method-item-reverse .method-image {
    order: 2;
}

.method-item-reverse .method-content {
    order: 1;
}

.method-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.method-content {
    border: 1px solid rgba(244, 241, 222, 0.3);
    padding: 30px;
}

.method-name {
    font-size: 1.1rem;
    color: var(--clinical-white);
    letter-spacing: 0.1em;
    margin-bottom: 6px;
}

.method-subtitle {
    font-size: 0.95rem;
    color: var(--skin-beige);
    margin-bottom: 16px;
}

.method-text {
    font-size: 0.85rem;
    line-height: 1.9;
    color: var(--clinical-white);
    margin-bottom: 24px;
}

.method-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.method-point {
    background: var(--skin-beige);
    padding: 16px 14px;
    min-height: 90px;
}

.method-point .method-point-number,
.method-point .text-hero-lead {
    display: block;
    font-weight: bold;
    font-size: 1.8em;
    color: #F4F1DE;
    letter-spacing: 0.4em;
    opacity: 0.4;
    margin-bottom: 8px;
    letter-spacing: 0.1em;
}

.method-point-text {
    font-size: 0.75rem;
    line-height: 1.6;
    color: var(--clinical-white);
}

/* HISTORY SECTION */
.about-history-section {
    background-image: url(../images/about/about-anpiel/AdobeStock_632764816.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    /* background: var(--clinical-white); */
    padding: 0;
}

.about-history-section .container{
    padding: 120px 0;
}

.history-layout {
    background: var(--clinical-white);
    padding: 36px;
    margin: 0;
}

.history-heading {
    margin: 36px;
}

.history-label {
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    margin-bottom: 8px;
}

.history-title {
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--corporate-brown);
    letter-spacing: 0.12em;
}

/* PC版：2カラムレイアウト（左/タイムライン/右） */
@media (min-width: 1025px) {
    .history-layout {
        display: grid;
        grid-template-columns: 1fr 40px 1fr;
        gap: 40px;
        align-items: start;
    }

    .history-content {
        display: flex;
        flex-direction: column;
        gap: 40px;
        position: relative;
    }

    .history-content--left {
        text-align: left;
    }

    .history-content--left::after {
        content: '';
        position: absolute;
        left: 60px;
        top: 0;
        bottom: 0;
        width: 1px;
        background: var(--skin-beige);
        z-index: 0;
    }

    .history-content--right {
        text-align: left;
    }

    .history-content--right::after {
        content: '';
        position: absolute;
        left: 60px;
        top: 0;
        bottom: 0;
        width: 1px;
        background: var(--skin-beige);
        z-index: 0;
    }

    .history-timeline {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: stretch;
    }

    .history-line {
        position: absolute;
        top: 0;
        bottom: 0;
        width: 1px;
        background: var(--skin-beige);
        left: 50%;
        transform: translateX(-50%);
    }

    .history-item {
        position: relative;
    }

    .history-content--left .history-item {
        padding-left: 80px;
    }

    .history-content--right .history-item {
        padding-left: 80px;
    }


    .history-image-inline {
        margin-top: 16px;
    }

    .history-image-inline img {
        width: auto;
        height: auto;
        max-height: 300px;
        display: block;
        padding-left: 56px;
    }
}

/* SP版：1カラムレイアウト（左端にタイムライン） */
@media (max-width: 768px) {
    .history-layout {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .history-content {
        display: flex;
        flex-direction: column;
        gap: 32px;
        padding-left: 40px;
        position: relative;
    }

    .history-timeline {
        display: none;
    }

    .history-content::before {
        content: '';
        position: absolute;
        left: 76px;
        top: 0;
        bottom: 0;
        width: 1px;
        background: var(--skin-beige);
    }

    .history-item {
        position: relative;
        padding-left: 48px;
    }
}

/* タブレット版：1カラムレイアウト（左端にタイムライン） */
@media (min-width: 769px) and (max-width: 1024px) {
    .history-content {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .history-content::before {
        content: '';
        position: absolute;
        left: 60px;
        top: 0;
        bottom: 0;
        width: 1px;
        background: var(--skin-beige);
    }

    .history-item {
        padding-left: 80px;
    }

    .history-image-inline {
        margin-top: 16px;
    }

    .history-image-inline img {
        width: auto;
        height: auto;
        max-height: 300px;
        display: block;
        padding-left: 56px;
    }
}


.history-year {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--skin-beige);
    margin-bottom: 4px;
    letter-spacing: 0.05em;
}

.history-text {
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--corporate-brown);
}

/* PROFILE SECTION */
.about-profile-section {
    background: var(--clinical-white);
    padding: 120px 0;
}

.profile-heading {
    margin-bottom: 60px;
}

.profile-label {
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    margin-bottom: 8px;
}

.profile-title {
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--corporate-brown);
    letter-spacing: 0.12em;
}

.profile-layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 40px;
    align-items: start;
}

.profile-image img {
    max-width: 500px;
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.profile-table {
    border-top: 1px solid rgba(189, 137, 126, 0.6);
}

.profile-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(189, 137, 126, 0.6);
}

.profile-label-text {
    font-size: 0.85rem;
    color: var(--corporate-brown);
    letter-spacing: 0.05em;
}

.profile-value {
    font-size: 0.85rem;
    color: var(--corporate-brown);
    line-height: 1.8;
}

@media screen and (max-width: 1024px) {
    /* .section-title {
        font-size: 8vw;
    } */

    .mvv-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .message-item,
    .message-item-2 {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .message-item-2 {
        gap: 24px;
    }

    .message-item-2 .message-text-box {
        padding: 32px;
    }

    .message-item-2 .message-photo,
    .message-item-2 .message-text-box {
        order: unset;
    }

    .method-item,
    .method-item-reverse {
        grid-template-columns: 1fr;
    }

    .method-item-reverse .method-image,
    .method-item-reverse .method-content {
        order: unset;
    }

    .method-points {
        grid-template-columns: 1fr 1fr;
    }


    .profile-layout {
        grid-template-columns: 1fr;
    }

    .profile-image {
        text-align: center;
    }

    .profile-row {
        grid-template-columns: 120px 1fr;
    }
}

@media screen and (max-width: 768px) {
    /* .about-hero .section-title {
        font-size: 4rem;
    } */

    .about-profile-section {
        padding: 64px 0;
    }


    .about-history-section .container{
        padding: 64px 0;
    }

    .about-hero-subtitle-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-message-section {
        padding: 0;
    }

    .about-methods-section {
        padding: 64px 0;
    }

    .text-hero-lead {
        font-size: 1.5rem;
        margin-bottom: 40px;
    }

    .about-catchphrase {
        font-size: 1.5rem;
        margin-bottom: 40px;
    }

    .about-description {
        font-size: 0.9rem;
    }

    /* SP時：英語タイトル（Body/Mainフォントスタイル） */
    .message-section-title,
    .methods-label,
    .history-label,
    .profile-label,
    .text-main {
        font-size: 14px;
        font-weight: 500;
        line-height: 22px;
        letter-spacing: 0.01em;
    }

    /* SP時：日本語見出し（Heading/Section JPフォントスタイル） */
    .message-label,
    .methods-title,
    .history-title,
    .profile-title,
    .text-section-jp {
        font-size: 28px;
        font-weight: 400;
        line-height: 34px;
        letter-spacing: 0.03em;
    }

    .about-catchphrase-section .text-main,
    .about-methods-section .text-main,
    .about-message-section .text-main {
        font-size: 0.9rem;
    }

    .mvv-item .text-main {
        font-size: 0.85rem;
    }

    .history-item .text-main {
        font-size: 0.95rem;
        padding-left: 56px;
    }

    .profile-row .text-main {
        font-size: 0.85rem;
    }

    .about-hero {
        padding-bottom: 0;
    }

    .about-mvv-section {
        padding : 0;
    }

    .mvv-content {
        gap: 40px;
    }

    .mvv-title,
    .mvv-item .text-title:first-child {
        font-size: 1.1rem;
    }

    .mvv-subtitle,
    .mvv-item .text-title:not(:first-child) {
        font-size: 1rem;
    }

    .message-section-title {
        font-size: 2rem;
    }


    .message-item,
    .message-item-2 {
        grid-template-columns: 1fr;
        margin-bottom: 60px;
    }

    .message-item-2 .message-text-box {
        padding: 24px;
    }

    .message-text-box {
        padding: 16px;
    }

    .message-text-box2 {
        padding: 0;
    }

    .message-title {
        font-size: 1rem;
    }

    .message-subtitle {
        font-size: 0.95rem;
    }

    .message-content {
        font-size: 0.85rem;
    }

    .methods-title,
    .about-methods-section .text-section-jp {
        font-size: 1.3rem;
    }

    .about-methods-section > .text-title {
        text-align: left;
    }

    .about-methods-section .desc-title {
        text-align: left;
    }

    .methods-intro-title {
        font-size: 1rem;
    }

    .method-content {
        padding: 24px;
    }

    .method-points {
        grid-template-columns: 1fr;
    }

    .history-title,
    .history-heading .text-section-jp {
        font-size: 1.3rem;
    }

    .history-layout {
        display: block;
        position: relative;
        padding: 20px;
        margin: 0;
    }

    .history-images,
    .history-timeline {
        display: none;
    }

    .history-content {
        position: relative;
        gap: 0;
        padding-top: 0;
    }

    .history-content::before {
        content: '';
        position: absolute;
        left: 2px;
        top: 0;
        bottom: 0;
        width: 1px;
        background: var(--skin-beige);
    }

    .history-item {
        padding-left: 26px;
        margin-bottom: 26px;
    }

    .history-item:last-child {
        margin-bottom: 0;
    }

    .history-item::before {
        display: block;
        left: -3px;
        top: 10px;
        width: 6px;
        height: 6px;
    }


    .history-year,
    .history-item .text-card-title {
        font-size: 2rem;
        line-height: 1;
        margin-bottom: 10px;
        position: relative;
        padding-left: 56px; /* 40px (line width) + 16px (gap) */
    }

    .history-item .text-card-title::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 1px;
        background: linear-gradient(to left, #BD897E, transparent);
    }

    .history-text {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .history-image-mobile {
        display: block;
        margin-top: 14px;
    }

    .history-image {
        width: auto;
        height: auto;
        max-height: 300px;
        padding-left: 56px;
    }

    .profile-title,
    .profile-heading .text-section-jp {
        font-size: 1.3rem;
    }

    .profile-image {
        text-align: center;
    }

    .profile-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

@media screen and (max-width: 480px) {
    /* .about-hero .section-title {
        font-size: 2.5rem;
    } */

    .about-subtitle {
        font-size: 1.2rem;
    }

    .text-hero-lead {
        font-size: 1.2rem;
    }

    .about-catchphrase {
        font-size: 1.2rem;
    }

    .mvv-title {
        font-size: 1rem;
    }

    .mvv-subtitle {
        font-size: 0.95rem;
    }

    .mvv-text {
        font-size: 0.85rem;
    }
}
