/**
 * for-students/for-students.css
 * CSS for the "For Students" section of the ECL Website
 */

body {
    margin: auto;
}

main {
    padding-top: 50px; /* ヘッダーの下に余白を設ける */
    padding-bottom: 50px;
}

.box {
    /* newsboxとeventsboxを横並びにする */
    /* display: flex;  */
    display: grid;
    grid-template-columns: 2fr 1fr;
    /* newsboxとeventsboxの間に隙間を作る */
    column-gap: 50px;
    row-gap: 30px; 
    
    /* 横幅を制限し、中央に配置 */
    width: 80%; 
    margin: 0 auto; 
}

.attempbox, .researchbox {
    flex: 1;
    background-color: #e6f7ff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);

    display: flex;
    flex-direction: column;

    padding: 50px;
    padding-top: 20px;

    height: 360px;       /* 固定高さがあるのでスクロールが必要 */
    overflow-y: auto;    /* ← これを追加するだけで枠内スクロールできる */
}


.attempt p, .research p {
    font-size: 20px; /* フォントサイズを少し大きく */
    color: #333;
    margin: 5px 0; /* <p>要素の上下マージンを調整 */
}

.box ul li{
    padding-top: 5px; /*リストの間隔 */
    padding-bottom: 5px;
}

.box a{
    size: 20px;
    text-decoration: underline;
}

.messagebox{
    border: 1px solid #e0e0e0;
    height: 150px;
    width: 80%;
    margin: 0 auto;
    background-color: #e6f7ff;
    margin-bottom: 20px;
    box-sizing: border-box;
    padding: 20px;
    padding-top: 10px;
}

.messagebox .text{
    font-size: 30px;
}

.messagebox .text{
    display: flex;
    align-items:center;
}

.text .toha {
    font-size: 20px;
    margin-left: 10px;
}

.emphasis {
    font-weight: 600; /* 少し太字（自然） */
}

.attemp {
    font-size: 30px;
}

ul{
    margin-left: 50px;
}

p.first{
    padding-top: 5px;
    padding-bottom: 5px;
}

p.last{
    padding-top: 5px;
}

.research{
    font-size: 30px;
}

/* 研究テーマ導線ボックス */
.research-link-box {
    width: 80%;
    margin: 40px auto;
    padding: 25px;

    background-color: #f7fbff;
    border: 1px solid #dfeaf5;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);

    box-sizing: border-box;
}

/* 見出し */
.research-link-box h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

/* 説明文 */
.research-link-box p {
    font-size: 14px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 10px;
}

/* Researchリンク */
.research-link {
    display: inline-block;
    margin-top: 10px;

    font-size: 14px;
    font-weight: 600;
    color: #1e6fd9;
    text-decoration: none;
}

.research-link:hover {
    text-decoration: underline;
}
