@charset "utf-8";
/* CSS Document */
/* 共通設定 */
html{
	font-size: 62.5%;
  font-family: 'Noto Sans JP', sans-serif;
}
header{
  background-color: #00386c;
  color: #ffffff;
  padding: 50px 0 87px 0;
  text-align: center;
}
header h1{
  font-size: 4.5rem;
    letter-spacing: 0.1rem;
    line-height: 1.2;
    font-family: 'Kanit', sans-serif;
}
header p{
  font-size: 1.8rem;
  letter-spacing: 0.4rem;
  margin-top: 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid #ffffff;
  display: inline-block;
  /*width: 392px;*/
}
section{
  max-width: 1000px;
  margin: 0 auto;
  padding: 100px 20px;
}
footer{
  background-color: #00386c;
  text-align: center;
  color:white;
  padding: 2.9rem 0;
}
.br-sp{
  display: none;

}
.sp{
  display:none;
}
/* index.html */
#top{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.box-wrapper{
  max-width: 300px;
  text-align: center;
  margin-bottom: 86px;
}
.box-wrapper h2{
  font-size: 2.0rem;
  font-weight: bold;
  color:#00386c;
  text-align: left;
  background-color: #ebedf0;
  clip-path: polygon(0 0, 82% 0, 100% 100%, 0% 100%);
  width: 160px;
  padding: 0.8rem 0 0.3rem 0.8rem;
}
.box{
  background-color: #ebedf0;
  margin-bottom: 10px;
  padding-top: 8px;
}
.btn-box{
  padding: 18px 0;
}
.btn-center{
  margin: 10px 0;
}
a:hover{
  opacity: 0.5;
}
ul{
  display: flex;
}
li{
  font-size: 1.2rem;
  align-self: center;
}
.sub{
  background-color: #ebedf0;
  width: 75px;
  padding: 5px 0;
  margin: 0 7px 7px 0;
}
/*末尾のフレックスアイテムを非表示*/
/* .box-wrapper:last-child {
  visibility: hidden;
}
 */

/* 640px〜959px：タブレット
------------------------------ */
@media screen and (min-width:640px) and (max-width:959px) {
  section{
    justify-content: space-around;
  }
}

@media screen and (max-width:639px) {
  .pc{
    display:none;
 
}
  .sp{
    display: block;
}
  #top {
    justify-content: space-between;
}
  header {
    padding: 30px 0 40px 0;
}
  header p {
    width: auto;
    margin-top: 25px;
}
  header h1 {
    font-size: 3.0rem;
}
section {
  padding: 50px 9px 0 9px;
}

.box-wrapper {
  max-width: 180px;
  margin-bottom: 40px;
}
.box-img {
  width: 90%;
  margin: 0 auto;
}
.btn-img {
  width: 90%;
}
.btn-box {
  padding: 15px 0;
}
ul {
  display: block;
  margin-bottom: 15px;
}
ul.sub-center {
  margin-bottom: 15px;
}
.sub {
  width: auto;
  margin: 0 0 8px 0;
}
}
