/* Aboutページ専用のスタイル */

.about-page-main {
    padding: 80px 40px; /* ← ここの「80px」の数値を変更します */
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}



/* ↓↓【修正】ヘッダーのスタイルをシンプル化 ↓↓ */
.about-header {
    margin-bottom: 80px;
}

.about-header-image {
    /* ↓↓【修正】横幅を、親要素の50%の大きさに指定します ↓↓ */
    width: 65%;
    /* max-width: 600px;  ← こちらの指定は不要になったため削除 */
    height: auto;
}

.header-main-title {
    font-family: 'Senobi Gothic Regular', sans-serif;
    font-size: 60px;
    font-weight: normal;
    color: #333;
    margin: 0 0 10px 0;
    transform: translate(-150px, 150px);
}

.about-logo-wave {
    width: 900px;
    max-width: 300%;
    height: auto;
    margin-bottom: 20px;
    transform: translateX(0px);
}

.about-title {
    font-family: 'Senobi Gothic Regular', sans-serif;
    font-size: 30px;
    font-weight: normal;
    color: #333;
    margin: 0;
    transform: translate(-20px, -100px);
}

/* --- 2カラムテキストセクションのスタイル --- */
.two-column-text-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
    margin-top: 100px;
}

/* 左カラム：縦書きテキスト */
.vertical-text-column {
    font-family: 'Senobi Gothic Regular', sans-serif;
    font-size: 36px;
    font-weight: normal;
    color: #333;
    writing-mode: vertical-rl;
    letter-spacing: 0.2em;
    padding-top: 20px;
}

.vertical-text-column p {
    margin: 0;
}

/* 右カラム：横書きテキスト */
.horizontal-text-column {
    text-align: left;
    line-height: 2.2;
    font-size: 16px;
    max-width: 450px;
}

.horizontal-text-column p {
    margin: 0 0 2em 0;
}
.horizontal-text-column p:last-child {
    margin-bottom: 0;
}

/* --- 以前のテキストコンテンツのスタイル --- */
.about-text-content {
    text-align: left;
    line-height: 2.2;
}

.about-subtitle {
    text-align: center;
    font-family: 'Senobi Gothic Regular', sans-serif;
    font-size: 30px;
    font-weight: normal;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
    margin-bottom: 150px;
}

.about-text-content p {
    text-align: center;
    margin: 0 0 0px 0;
    font-size: 20px;
}

/* =============================================== */
/* --- スマートフォン用のスタイル (Aboutページ) --- */
/* =============================================== */

/* 画面幅が450px以下になった場合に適用 */
@media (max-width: 450px) {

    .about-page-main {
        padding: 40px 20px; /* 上下の余白を調整 */
    }

    .about-header {
        margin-bottom: 60px; /* ヘッダー画像と下のセクションの間隔 */
    }

    /* タイトル画像の大きさ */
    .about-header-image {
        width: 90%; /* ← ここの数値を変更 */
    }

    /* 2カラムセクションの調整 */
    .two-column-text-section {
        flex-direction: column; /* 縦並びに変更 */
        align-items: center;    /* 中央揃えに */
        gap: 40px;
        margin-top: 60px;
    }

    /* 縦書きテキストの大きさ */
    .vertical-text-column {
        writing-mode: horizontal-tb; /* スマホでは通常の横書きに戻す */
        font-size: 28px; /* ← ここの数値を変更 */
        letter-spacing: 0.1em;
        padding-top: 0;
    }

    /* 横書きテキストの大きさ */
    .horizontal-text-column {
        font-size: 15px; /* ← ここの数値を変更 */
        max-width: 100%; /* 横幅の制限を解除 */
        text-align: center; /* 中央揃えに */
    }

    /* サブタイトルの調整 */
    .about-subtitle {
        font-size: 24px;
        margin-bottom: 80px;
    }

    /* 本文の調整 */
    .about-text-content p {
        font-size: 15px;
    }

}