@charset "UTF-8";
/* CSS Document */

p{line-height: 1.7em;
padding: 10px;
}

a {
color:#434343;
}

header {
  padding:10px;
  background:#F1BABB;
}

#nav-drawer {
  position: fixed;
  color:#565656
}

/*チェックボックス等は非表示に*/
.nav-unshown {
  display:none;
}

/*アイコンのスペース*/
#nav-open {
  display: inline-block;
  width: 30px;
  height: 22px;
  vertical-align: middle;
}

/*ハンバーガーの形をCSSで表現*/
#nav-open span, #nav-open span:before, #nav-open span:after {
  position: absolute;
  height: 3px;/*線の太さ*/
  width: 30px;/*長さ*/
  border-radius: 3px;
  background:#7D7D7D;
  display: block;
  content: '';
  cursor: pointer;
}
#nav-open span:before {
  bottom: -8px;
}
#nav-open span:after {
  bottom: -16px;
}

/*閉じる用の薄黒箇所*/
#nav-close {
  display: none;
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:#6F6F6F;
  opacity: 0;
  transition: .3s ease-in-out;
}

/*メニューの中身*/
#nav-content {
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 60%;
  max-width: 330px;/*最大幅（お好みで調整を）*/
  height: 100%;
  background: #fff;
  transition: .3s ease-in-out;
  -webkit-transform: translateX(-105%);
  transform: translateX(-105%);
}

/*チェックがついたら表示させる*/
#nav-input:checked ~ #nav-close {
  display: block;
  opacity: .5;
}

#nav-input:checked ~ #nav-content {
  -webkit-transform: translateX(0%);
  transform: translateX(0%);
  box-shadow: 6px 0 25px rgba(0,0,0,.15);
}

.header-logo-menu{
	display: flex;
	display: -moz-flex;
	display: -o-flex;
	display: -webkit-flex;
	display: -ms-flex;
	flex-direction: row;
	-moz-flex-direction: row;
	-o-flex-direction: row;
	-webkit-flex-direction: row;
	-ms-flex-direction: row;
}

/*ロゴやサイトタイトルをセンタリング*/
.logo-erea{text-align:center;margin:auto;color: #FFFFFF;font-size:25px;}
 
/*ここまでハンバーガー*/

body {background-color:#F1BABB} /*背景色ピンク*/
body{margin:0;padding:0;}
img src="images/WPcover.jpg"{
	margin: 0;
}

h1{
	color:#FFFFFF;
	position: absolute;
top: 540px;
left: 165px;
font-size: 30px;
font-family: serif;
}

h2{/*視覚デザイン学科*/
	color:#FFFFFF;
	position: absolute;
top: 580px;
left: 110px;
font-size: 30px;
font-family: serif;
}



h3{/*学科の特色*/
	color:#FFFFFF;
	position: absolute;
top: 730px;
left: 38px;
font-size: 20px;
font-family: serif;
	
}

h4{
	color:#FFFFFF;
	position: absolute;
top: 2480px;
left: 90px;
font-size: 20px;
font-family: serif;
}



p{
	color: #FFFFFF
}

a {
text-decoration: none;
}

p.sample1 {color: #FFFFFF; margin: 60px 0 0 30px;} 
p.sample2 {color: #FFFFFF;margin: 0px 30px; padding: 10px;}
p.sample3 {color:#F2A2A2; margin: 120px 0 0 50px;} 
p.sample4 {color: #656565;margin: 0px 0 0 30px;} 
p.sample5 {color: #F2A2A2;margin: 120px 0 0 140px;} 
p.sample6 {color: #F2A2A2;margin: 0px 0 0 30px;} 

.box2{
    padding: 0.5em 1em;
    margin: 2em 0;
    color: #5d627b;
    background: white;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
}
.box2 p {
    margin: 0; 
    padding: 0;
}

.box4{
    padding: 0.5em 1em;
    margin: 2em 0;
    color: #5d627b;
    background: white;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
}
.box4 p {
    margin: 0; 
    padding: 0;
}

.box5{
    padding: 0.5em 1em;
    margin: 2em 0;
    color: #5d627b;
    background: white;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
}
.box5 p {
    margin: 0; 
    padding: 0;
}


.btn-square-shadow {
  display: inline-block;
  padding: 40px;
  text-decoration: none;
  font-size: 20px;
  background:#FFFFFF;/*ボタン色*/
  color:#F2A2A2;
  border-bottom: solid 4px #917676;
  border-radius: 10px;
}

.btn-square-shadow:active {
  /*ボタンを押したとき*/
  -webkit-transform: translateY(4px);
  transform: translateY(4px);/*下に動く*/
  box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.2);/*影を小さく*/
  border-bottom: none;
}

.btn-square-shadow2 {
  display: inline-block;
  padding: 40px;
  text-decoration: none;
  font-size: 20px;
  background:#FFFFFF;/*ボタン色*/
  color:#F2A2A2;
  border-bottom: solid 4px #917676;
  border-radius: 10px;
}
.btn-square-shadow2:active {
  /*ボタンを押したとき*/
  -webkit-transform: translateY(4px);
  transform: translateY(4px);/*下に動く*/
  box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.2);/*影を小さく*/
  border-bottom: none;
}


.btn-square-shadow3 {
  display: inline-block;
  padding: 40px;
  text-decoration: none;
  font-size: 20px;
  background:#FFFFFF;/*ボタン色*/
  color:#F2A2A2;
  border-bottom: solid 4px #917676;
  border-radius: 10px;
  animation: flash 2s linear infinite;
}
@keyframes flash {
  0%,100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}