@charset "UTF-8";

:root {
    --beige: #fafbe6;
    --white: #fcfcef;
    --skyblue: #98d2c0;
    --emeraldgreen: #03aa9d;
    --navy: #215881;
}

body {
    background-color: var(--beige);
    margin: 0;
    padding: 0;
    font-family: Zen Kaku Gothic New;
}

.main {
  padding-top: 80px; 
}

.container {
    width: 100%;
    max-width: 375px;
    margin: 40px auto;
    box-sizing: border-box;
}

.faculty-tab {
    display: flex;            
    margin: 0 auto;           
    width: 100%;
    padding: 0;               
    list-style: none;
    font-weight: 500;
    font-size: 16px;
    color: var(--navy);
    margin-bottom: 20px;
}

.faculty-tab li {
    flex: 1;                  
    text-align: center;      
    display: flex;           
}

.faculty-tab li a {
    display: flex;            
    align-items: center;     
    justify-content: center;  
    height: 100%;             
    box-sizing: border-box;   
    width: 100%;
    position: relative;       
    background-color: #e6e6e6;
    color: #000000;          
    cursor: pointer;         
    transition: 0.3s all;     
    text-decoration: none;
    padding: 0.7em 0.5em;     
    border-top: solid 2px var(--navy);
    border-bottom: solid 2px var(--navy);
    border-right: solid 2px var(--navy);
    border-left: none;        
}

.faculty-tab li:first-child a {
    border-left: solid 2px var(--navy);
}

.faculty-tab li a.active {
    background-color: var(--emeraldgreen); 
    color: var(--beige);            
    font-weight: normal;
    border-top: solid 2px var(--navy);
    border-bottom: solid 2px var(--navy);
    border-right: solid 2px var(--navy);
}

.content-wrap{
    padding: 0 16px
}

.area {
    display: none;
    background-color: var(--white);
}

.heigan-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
    text-align: left;
    table-layout: fixed;
}

.heigan-table th {
    background-color: var(--skyblue);
    color: var(--black);
    font-weight: bold;
    padding: 10px 4px;
    border: 1px solid var(--navy);
    text-align: center;
}

.heigan-table td {
    padding: 8px 4px;
    border: 1px solid var(--navy);
    vertical-align: middle;
    line-height: 1.4;
    word-break: break-all;
    min-height: 24px; 
    text-align: center;
    background-color: var(--blue);
    color: var(--black);
}

.score-cell {
    background-color: #fafbe6;
    text-align: center;
    color: var(--navy);
    font-weight: normal;
    font-size: 12px;
    border-left: 1px solid var(--navy);
    border-right: 1px solid var(--navy);
}