@charset "utf-8";
/* CSS */
.green-heading-fill {
    padding: 10px 20px;
    background-color: #009944; /* 鮮やかな緑 */
    color: #ffffff;
    border-left: 8px solid #006622; /* 濃い緑のアクセント */
    font-size: 1.25rem;
    font-weight: bold;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* キャッチコピーのデザイン */
.voice-catch-copy {
    font-size: 2rem;           /* 見出しより一回り大きく */
    font-weight: bold;
    color: #1a1a1a;
    text-align: center;
    line-height: 1.5;
    padding: 40px 0;          /* 上下にたっぷり余白をとる */
    margin: 40px 0;
    border-top: 2px solid #009944;    /* 見出しと同じ緑 */
    border-bottom: 2px solid #009944; /* 二重線で挟む */
    letter-spacing: 0.05em;
}

/* 見出しのデザイン（1. のスタイル） */
.green-heading-fill {
    padding: 10px 20px;
    background-color: #009944; 
    color: #ffffff;
    border-left: 8px solid #006622;
    font-size: 1.25rem;
    font-weight: bold;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* スマホ用：文字サイズ調整 */
@media (max-width: 768px) {
    .voice-catch-copy {
        font-size: 1.5rem;
        padding: 30px 10px;
    }
    .sp-only { display: block; }
}


/* デフォルト（PC）では改行を表示しない */
.sp-br {
    display: none;
}

/* キャッチコピー本体のデザイン */
.voice-catch-copy {
    font-size: 2rem;
    font-weight: bold;
    color: #1a1a1a;
    text-align: center;
    line-height: 1.5;
    padding: 40px 0;
    margin: 40px 0;
    border-top: 2px solid #009944;
    border-bottom: 2px solid #009944;
    letter-spacing: 0.05em;
}

/* 画面幅が768px以下の時（スマホ・タブレット）の設定 */
@media (max-width: 768px) {
    .voice-catch-copy {
        font-size: 1.5rem; /* スマホでは少し小さく */
        padding: 30px 10px;
    }
    
    /* スマホの時だけ改行を有効にする */
    .sp-br {
        display: inline;
    }
}


/* 全体のコンテナ */
.voice-wrapper {
    max-width: 900px;
    margin: 0 auto;
    font-family: sans-serif;
    line-height: 1.8;
}

/* セクションごとの余白 */
.voice-section {
    margin-bottom: 50px;
}

/* 1. 緑色の見出しスタイル */
.green-heading-fill {
    padding: 12px 20px;
    background-color: #009944; 
    color: #ffffff;
    border-left: 8px solid #006622;
    font-size: 1.25rem;
    font-weight: bold;
    border-radius: 4px;
    margin: 0 0 25px 0;
}

/* 横並びのレイアウト設定 */
.voice-flex-container {
    display: flex;
    gap: 30px; /* 文章と写真の間隔 */
    align-items: flex-start;
}

/* 文章エリア */
.voice-text {
    flex: 1; /* 空いているスペースをすべて使う */
}

.voice-text p {
    margin: 0 0 1.5em 0;
}

/* 画像エリア */
.voice-image {
    flex: 0 0 300px; /* 画像の横幅を300pxに固定 */
}

.voice-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

/* スマホ対応（画面幅768px以下） */
@media (max-width: 768px) {
    .voice-flex-container {
        flex-direction: column-reverse; /* スマホでは「写真が上、文章が下」にする（逆が良ければcolumn） */
    }

    .voice-image {
        flex: 0 0 auto;
        width: 100%;
        margin-bottom: 20px;
    }
    
    .green-heading-fill {
        font-size: 1.15rem;
    }
}


/* 全体のコンテナ */
.voice-wrapper {
    max-width: 1100px; /* 900pxから1100pxに拡張 */
    margin: 0 auto;
    font-family: &quot;Helvetica Neue&quot;, Arial, &quot;Hiragino Kaku Gothic ProN&quot;, &quot;Hiragino Sans&quot;, Meiryo, sans-serif;
    line-height: 1.8;
    color: #333;
    padding: 0 20px; /* 画面端の余白 */
}

/* セクションごとの余白 */
.voice-section {
    margin-bottom: 70px; /* セクション間も少し広めに */
}

/* 緑色の見出しスタイル */
.green-heading-fill {
    padding: 15px 25px;
    background-color: #009944; 
    color: #ffffff;
    border-left: 10px solid #006622;
    font-size: 1.4rem; /* 幅に合わせて少し大きく */
    font-weight: bold;
    border-radius: 4px;
    margin: 0 0 30px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* ほんの少し影をつけて質感をアップ */
}

/* 横並びのレイアウト設定 */
.voice-flex-container {
    display: flex;
    gap: 50px; /* 文章と写真の間隔を広げてゆとりを出す */
    align-items: flex-start;
}

/* 文章エリア */
.voice-text {
    flex: 1;
    font-size: 1.05rem; /* 読みやすさのためにわずかに大きく */
}

.voice-text p {
    margin: 0 0 1.5em 0;
    text-align: justify; /* 文章の右端を揃えて綺麗に見せる */
}

/* 画像エリア */
.voice-image {
    flex: 0 0 380px; /* 写真の横幅を380pxに拡大 */
}

.voice-image img {
    width: 100%;
    height: auto;
    border-radius: 12px; /* 角丸を少し強調して洗練された印象に */
    display: block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* 写真に高級感を出す影 */
}

/* スマホ対応（画面幅768px以下） */
@media (max-width: 768px) {
    .voice-flex-container {
        flex-direction: column-reverse; /* スマホでは写真が上 */
        gap: 20px;
    }

    .voice-image {
        flex: 0 0 auto;
        width: 100%;
        margin-bottom: 20px;
    }
    
    .green-heading-fill {
        font-size: 1.2rem;
        padding: 12px 15px;
    }
    
    .voice-wrapper {
        padding: 0 15px;
    }
}








/* 親要素の調整（背景画像を表示するエリア） */
.style--obog_detail {
    position: relative;
    width: 100%;
    min-height: 500px; /* PCでの表示高さ（顔の位置に合わせて調整してください） */
    overflow: hidden;
}

/* 下部に配置するコンテナ：顔を隠さないようにbottom（下端）に固定 */
.profile-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: flex-end; /* 下揃え */
}

/* 指定色 #abcd03 の名前ボックス */
.name-box {
    background-color: #abcd03; /* ご指定のカラー */
    color: #fff;
    padding: 35px 50px;
    flex: 0 0 auto;
    min-width: 420px;
    box-shadow: 10px 0 20px rgba(0,0,0,0.1); /* 境目を少し自然に */
    z-index: 2;
}

.name-box .hl {
    margin: 0;
    font-weight: bold;
    line-height: 1;
}

.name-box .hl span {
    font-size: 49px; /* 元の指定サイズを維持 */
    margin-right: 12px;
}

.name-box p {
    margin: 10px 0 0 0;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
}

/* 卒業情報のボックス（白背景・黒文字で顔の横に配置） */
.career-box {
    background: rgba(255, 255, 255, 0.9); /* 少し透けさせて重さを軽減 */
    padding: 20px 30px;
    margin-bottom: 25px; /* 名前ボックスより少し上に浮かせて軽やかさを出す */
    margin-left: -10px;  /* 名前ボックスと少し重ねて一体感を出す */
    border-left: 5px solid #abcd03; /* 指定色をアクセントに */
    z-index: 1;
}

.career-box .year {
    font-size: 1.6rem;
    font-weight: bold;
    color: #333;
    line-height: 1.2;
}

.career-box .gakka {
    font-size: 1.05rem;
    color: #333;
    font-weight: bold;
}

/* スマートフォン向けのレスポンシブ表示 */
@media (max-width: 768px) {
    .style--obog_detail {
        min-height: 350px;
    }
    .profile-card-overlay {
        position: relative;
        flex-direction: column;
        align-items: flex-start;
    }
    .name-box {
        width: 100%;
        min-width: auto;
        padding: 20px;
    }
    .name-box .hl span {
        font-size: 32px;
    }
    .career-box {
        margin: 0;
        width: 100%;
        box-sizing: border-box;
        border-left: none;
        border-top: 2px solid #abcd03;
        background: #fff;
    }
}




/* 名前と会社名・卒業情報をまとめるコンテナ */
.profile-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: flex-end;
}

/* 緑色の名前ボックス (#abcd03) */
.name-box {
    background-color: #abcd03;
    color: #fff;
    padding: 30px 45px;
    flex: 0 0 auto;
    min-width: 380px;
    z-index: 2;
}

/* 会社名・卒業情報のボックス */
.career-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px 35px;
    margin-bottom: 25px;
    margin-left: -15px;
    border-left: 5px solid #abcd03;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* 追加：会社名のデザイン */
.company-name {
    font-size: 1.25rem;
    font-weight: bold;
    color: #abcd03; /* 緑色にして強調 */
    margin-bottom: 5px;
    display: block;
}

.career-box .year, 
.career-box .gakka {
    font-size: 0.95rem;
    color: #555;
    font-weight: bold;
    line-height: 1.4;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .profile-card-overlay {
        position: relative;
        flex-direction: column;
    }
    .name-box {
        width: 100%;
        padding: 20px;
    }
    .career-box {
        margin: 0;
        width: 100%;
        border-left: none;
        border-top: 3px solid #abcd03;
        padding: 20px;
    }
    .company-name {
        font-size: 1.1rem;
    }
}