@charset "UTF-8";

/* 共通部分
------------------------*/
html {
  font-size: 100%;
}
a {
  text-decoration: none;
}
image {
  max-width: 100%;
}

body {
  width: auto;
}

a,a:visited{
  color: black;
}

body {
  font-family: "Noto Sans JP", sans-serif;
}


/* HEADER
------------------------*/
.page-header {
  width: 1000px;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.header-line {
  border-bottom: solid;
  border-color: #4472C4;
  border-width: 2px;
}

.logo {
  width: 80px;
  margin: 10px;
}

.logo-container {
  display: flex;
  flex-direction: row;
  align-items: stretch;

}

.title-container {
  display: flex;
  flex-direction: column;
  align-content: center;
  display: grid;
  margin: 10px;
}

/* ABOUT
------------------------*/

.about-container {
  margin: 4vw auto;
}

.about-container-inner {
  text-align: center;
  line-height: 1.9;
  margin: 1vw;
}

/* MENU
------------------------*/

.sub-menu-text {
  text-align: center;
}

.sub-menu-container {
  width: 600px;
  height: auto;
  margin: 0 auto;
  display: grid;
  place-content: center;
  grid-template-columns: repeat(2,1fr);
  /*background-color: #e6edf4;*/
}
.item-container {
  text-align: center;
  align-items: center;
  justify-content: center;
  margin: auto;
}

.item {
  display: grid;
  text-align: center;
  align-items: center;
  justify-content: center;
  width: 290px;
  height: 290px;
  margin: 0 auto;
  margin: 1.5rem;
  border: #4472C4 solid 5px;
  border-radius: 30px;
  padding: 15px 15px 15px 15px;
  background-color: white;
  vertical-align: middle;
  box-shadow: 0 0 3px 0 rgba(0,0,0,.12), 0 2px 3px 0 rgba(0,0,0,.22);
	transition: .3s;
}

.item-font {
  font-size: 1.5rem;
}

.item:hover {
  scale: 1.03;
}

.item-p {
  text-align: left;
  font-size: 1em;
}

.item-size {
  width: 80px;
  height: 80px;
  margin: auto;
  padding: 10px 10px;
}

/* INFOMATION
------------------------*/
.infomation-container {
  text-align: center;
  align-items: center;
  justify-content: center;
  width: 1000px;
  height: auto;
  margin: 80px auto;
}

.infomation {
  width: 600px;
  margin: auto;
  list-style: none;
  text-align: center;
}

.infomation li {
  border-bottom: 1px solid #808080;
  display: block;
  padding: 1rem;
}

.infomation-btn:hover{
  text-decoration: underline;
}

/* INQUIRY
------------------------*/

.inquiry-container {
  display: grid;
  text-align: center;
  align-items: center;
  justify-content: center;
  width: 1000px;
  height: 300px;
  margin: 80px auto;
}

.inquiry {
  text-align: center;
  align-items: center;
  justify-content: center;
  line-height: 60px;
  width: 600px;
  height: 60px;
  border: black solid 1px;
}

  .inquiry:hover {
    background: #333;
    color: #fff;
  }

/* FOOTER
------------------------*/

.copyright {
  text-align: center;
  font-size: 0.9rem;
  margin: 40px auto 30px auto;
  color: #808080;
  border-top: solid;
  border-color: #4472C4;
  border-width: 1px;
}

/* 学費優遇
------------------------*/

.wrapper{
  width: 800px;
  margin: 0 auto;
  height: auto;
}

.item-g {
  margin: 0 auto;
  padding: 15px 15px 15px 15px; 
  line-height: 1.9;
}

.indent{
  text-indent: -1em;
  padding-left: 1em;
}

.padding-1{
  padding-left: 1em;
}

.padding-2{
  padding-left: 2em;
}

/* モバイル
------------------------*/
@media (max-width:800px){
  h1 {
    font-size:  4.5vw; /* 36(px) / 800(px) * 100vw */
  }
  h2 {
    font-size: calc(18px + ((1vw - 8px)*0.5));
  }

  h3 {
    font-size: calc(14px + ((1vw - 8px)*0.5));;
  } 
  h4 {
    font-size: calc(14px + ((1vw - 8px)*0.5));
  }
  .page-header {
		font-size: 2vw; /* 16(px) / 800(px) * 100vw */
    width: 100%;
	}
  .logo {
    width: 8vw;
    margin: 1vw;
  }
  .title-container {
    margin: 1vw;
  }
  .about-container {
    width: 100%;
    height: auto;
    margin: 2rem auto;
  }
  .sub-menu-container {
    width: 80vw;
    height: auto;
    flex-direction: column;
    grid-template-columns: initial;
  }
  .infomation-container {
    width: 80vw;
    height: auto;
    margin: 2rem auto;
  }
  .infomation {
    width: 100%;
    height: auto;
  }
  .infomation-btn {
    width: 100%;
    height: auto;
  }
  
  .inquiry-container {
    width: 80vw;
    height: auto;
    margin: 2rem auto;
    margin-top: 3rem;
  }
  .inquiry {
    width: 100%;
    height: auto;
    margin: 10px auto;
  }

/* 学費優遇
------------------------*/

.wrapper{
  width: 100%;
  margin: 0 auto;
  height: auto;
}

}
