/*
* CSS for Junior Doctor Chokai Course
*/
@charset "UTF-8";
* {
margin: 0px;
padding: 0px;
}
html {
font-size: 100%;
}
body{
margin: 0;
height: 100%;
font-family: 'Noto Sans JP', sans-serif;
color: rgb(45, 45, 45);
line-height: 1.7;
}
body:after{
margin: 0;
position: fixed;
top: 0; left: 0;
width: 100%; height: 100%;
content: "";
background: #afeeee;
/* background: -moz-linear-gradient(top, #afeeee 0%,#FFF 100%); */
/* background: -webkit-linear-gradient(top, #afeeee 0%,#FFF 100%); */
background: linear-gradient(to bottom, #afeeee 0%, #fff 100%);
z-index: -1;
}
body.vmenuspace {margin-top: 2em; border-top: 3px solid;}
div.scrollbox {
height: 6em; overflow: auto; background: #eff;
}
img {
max-width: 100%;
}
/* --------------------------------------ヘッダー ------------------------------------------------------------*/
.header{
width: 100vw;
height: auto;
z-index: 99;
position: fixed;
transition: all .5s;
top:0;
padding-top: 10px;
padding-bottom: 10px;
}
#hamburger-menu{
opacity: 0;
position: fixed;
}
.header.change-color {
background-color: #ffffff;
}
.header-nav {
height: auto;
max-width: 1200px;
margin: 0 auto;
padding: 0 5%;
}
.header-nav .sp-logo{
display: none;
}
.header-nav nav ul {
display: flex;
justify-content: space-between;
align-items: center;
}
.header-nav nav ul li {
margin-right: 50px;
list-style: none;
font-size: 1.05em;
padding-left: 9px;
padding-right: 9px;
border-left: grey 2px dotted;
border-right: grey 2px dotted;
}
.header-nav nav ul .bd-no{
border: none;
}
.header-nav nav ul li a{
text-decoration: none;
color: black;
transition: .3s;
display: block;
}
.header-nav nav ul li a:hover{
border-bottom: grey 3px dotted;
}
.header-nav nav ul li .bd-none:hover{
border-bottom: none;
}
.top-logo{
width: 65px;
height: 65px;
object-fit: cover;
}
header.scroll-nav{
background: white;
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
padding-top: 0;
padding-bottom: 0;
}
/*--------------------------------------common---------------------------------*/
.wrapper {
max-width: 1150px;
margin: 0 auto;
padding: 0 5%;
padding-top: 30px;
margin-bottom: 80px;
}
.section-title {
font-size: 2.1rem;
text-align: center;
position: relative;
width: 100%;
margin-top: 30px;
margin-bottom: 20px;
text-shadow: 0 4px 6px rgb(194, 194, 194);
}
.section-title::before{
content: '';
display: inline-block;
width: 170px;
height: 170px;
background-image: url(../testpage/yellow-green.png);
background-size: contain;
vertical-align: middle;
}
.section-title::after{
content: '';
display: inline-block;
width: 170px;
height: 170px;
background-image: url(../testpage/green.png);
background-size: contain;
vertical-align: middle;
}
.section-text{
text-align: center;
font-size: 1.3rem;
padding-top: 10px;
padding-bottom: 30px;
max-width: 800px;
margin: 0 auto;
line-height: 1.7;
}
/*--------------------------------------//common----------------------------------*/
/* -------------------------------------- home ---------------------------------------*/
#home{
padding: 0 1ex;
}
#home h3{
font-size: 1.3rem;
}
#home p{
font-size: 1.2rem;
line-height: 2.0;
}
.home-items{
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content:space-evenly;
align-items: center;
margin-top: 30px;
}
.what_study{
width:730px;
}
.what_study h3{
background: linear-gradient(transparent 50%, yellow 50%);
width: 346px;
}
main {margin: 1ex;} /* PLEASE Remove this if this is too much effective */
.aiming_top{
width:730px;
margin-top: 50px;
}
.aiming_top > h3{
background: linear-gradient(transparent 50%, yellow 50%);
width: 680px;
}
em.see {
font-style: normal; font-weight: bold;
background: linear-gradient(to top, yellow, transparent);
}
@media screen and (max-width: 746px){
#home h3{
font-size: 1.2rem;
}
#home p{
font-size: 1.1rem;
line-height: 1.85;
}
.aiming_top{
max-width: 500px;
}
}
/* -------------------------------------- //ホーム ---------------------------------------*/
/* -------------------------------------- about ---------------------------------------*/
#about{
background-color: white;
box-shadow: 0 0 8px 4px #ccc;
padding: 60px;
margin-bottom: 60px;
margin-top: 60px;
}
.about-text{
margin-top: 40px;
font-size: 1.2rem;
}
/* -------------------------------------- //about ---------------------------------------*/
/* --------------------------------------- Q&A ----------------------------------------------*/
@keyframes slidein {
0% {
opacity: 0;
transform: translateY(-5px);
}
100% {
opacity: 1;
transform: translateY(0px);
}
}
.qa_list{
position: relative;
margin: 20px 20px 30px 20px;
border: dashed black;
border-width: 0 0 2px 0;
color: black;
transition: .2s;
}
.qa_list:hover{
color: rgb(255, 60, 0);
}
.qa_list .plus{
position: relative;
display: inline-flex;
font-size: 28px;
padding: 5px;
transition: .3s;
}
.qa_list input[type="checkbox"]:checked ~ .plus{
transform: rotate(45deg);
}
.qa_list label{
display: block;
position: absolute;
top: 3px;
left: 30px;
padding: 5px;
font-size: 23px;
cursor: pointer;
transition: .3s;
}
.qa_list .ans{
position: relative;
display: none;
color: black;
margin: 5px;
padding: 10px 10px 20px 10px;
}
.qa_list input[type="checkbox"]:checked ~ div.ans{
display: block;
animation: slidein 0.5s;
}
.qa_list input{
display: none;
}
/* --------------------------------------- //Q&A ----------------------------------------------*/
/* ---------------------------------------- class-content -----------------------------------------*/
.class-content-items{
background-color: powderblue;
box-shadow: 0 0 8px 4px #ccc;
padding: 60px;
margin-bottom: 60px;
margin-top: 60px;
font-size: 1.1rem;
}
.class-content-items-text{
text-align: left;
}
#class-content .class-content-items {
display: flex;
align-items: center;
justify-content: space-evenly;
flex-direction: row;
flex-wrap: wrap;
}
.class-content-text{
padding-top: 30px;
}
.class-content-items-left{
width: 60%;
padding-right: 35px;
border-right: solid 2px #446;
}
.class-content-dl-left{
margin-right: 35px;
}
.class-content-dl > dt{
background-color: rgb(87, 87, 87);
color: white;
padding: 3px 4px;
display: inline-block;
margin-bottom: 4px;
}
.class-content-dl > dd{
margin-left: 60px;
margin-bottom: 5px;
}
.bottom{
margin-left: 25px;
}
dl dt {
margin: 0 1ex; padding: 0 1ex; width: 6em;
border:rgb(80, 224, 243) solid; border-width: 0 0 1px 1.2em;
}
@media screen and (min-width: 1100px){
.framebox {
border: double 5px gold;
display: block;
position: absolute;
left: 60% ;
bottom: 10px;
}
.clear {clear: both;}
}
@media screen and (max-width: 1099px){
.framebox {
border: double 5px gold;
display: block;
margin-left: 40px;
}
}
/* ----------------------------------------//class_content -----------------------------------------*/
/*------------------------------------------ infoのcss -------------------------------------------------*/
table.LectureSchedule{
text-align: center;
border-collapse: collapse;
border: 1px solid black;
}
table.LectureSchedule td.num{
text-align: right;
padding-right: 1.2em;
}
table.LectureSchedule td.date{
text-align: left;
padding-left: 0.7em;
}
table.LectureSchedule td.room{
text-align: left;
padding-left: 0.7em;
padding-right: 0.7em;
}
table.LectureSchedule td.lesson{
text-align: left;
padding-left: 0.5em;
}
/*------------------------------------------//infoのcss -------------------------------------------------*/
/*------------------------------------------ footer -------------------------------------------------*/
footer { /* XXX: Change ME! */
border-top: 1px dashed #888;
text-align: right; font-size: 70%;
}
table.school tr {visibility: collapse;}
table.school tr.match {visibility: visible;}
table.border, table.border td, table.border th {
border: 1px solid #446; border-collapse: collapse; padding: 0.2ex 0.4ex;
}
table.border th {text-align: left; padding: 0.2ex 0.8ex;}
table.form th:first-child {min-width: 10em;}
/*------------------------------------------ //footer -------------------------------------------------*/
/*------------------------------------------ media -------------------------------------------------*/
@media screen and (max-width: 746px){
.section-title{
font-size: 1.55rem;
}
#home h3{
font-size: 1.2rem;
}
#home p{
font-size: 1.1rem;
line-height: 1.85;
}
.aiming_top{
max-width: 500px;
}
}
/*------------------------------------------ //media -------------------------------------------------*/